forked from byte-fe/gm-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "gm-crypto",
"version": "0.1.7",
"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": "[email protected]:byte-fe/gm-crypto.git"
},
"keywords": [
"sm2",
"sm3",
"sm4",
"zuc",
"gm",
"crypto"
],
"author": "[email protected]",
"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"
}
}
}