65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"name": "gm-crypto",
|
|
"version": "0.1.8",
|
|
"description": "An implementation of GM/T industry standards",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.esm.js",
|
|
"esmodule": "dist/index.modern.js",
|
|
"unpkg": "dist/index.umd.js",
|
|
"umd:main": "dist/index.umd.js",
|
|
"types": "types/index.d.ts",
|
|
"files": [
|
|
"types",
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"commit": "cz",
|
|
"clean": "rm -rf dist",
|
|
"build": "npm run clean && microbundle --entry src/index.js --sourcemap false",
|
|
"build:coverage": "npm run clean && microbundle --entry src/index.js --sourcemap true",
|
|
"test": "npm run build:coverage && nyc --reporter=text --reporter=lcovonly ava -v",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:byte-fe/gm-crypto.git"
|
|
},
|
|
"keywords": [
|
|
"sm2",
|
|
"sm3",
|
|
"sm4",
|
|
"zuc",
|
|
"gm",
|
|
"crypto"
|
|
],
|
|
"author": "panjizhi1987@gmail.com",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"buffer": "^5.7.0",
|
|
"jsbn": "^1.1.0",
|
|
"to-arraybuffer": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^11.0.0",
|
|
"@commitlint/config-conventional": "^11.0.0",
|
|
"ava": "^3.13.0",
|
|
"commitizen": "^4.2.2",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"husky": "^4.3.0",
|
|
"microbundle": "^0.12.4",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.1.2"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
"pre-push": "npm test"
|
|
}
|
|
}
|
|
}
|