-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
90 lines (90 loc) · 2.88 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "china-id-card",
"version": "1.2.1",
"description": "China citizen identification number",
"repository": "https://github.com/tonyc726/china-id-card",
"author": "tonyc726 <[email protected]>",
"license": "MIT",
"keywords": [
"china",
"id card",
"GB11643-1999"
],
"engines": {
"node": ">=6"
},
"main": "dist/index.js",
"jsnext:main": "src/index.js",
"scripts": {
"rollup:cjs": "rollup -c",
"rollup:amd": "TARGET=bowser rollup -c",
"rollup:cjs-min": "NODE_ENV=production rollup -c",
"rollup:amd-min": "NODE_ENV=production TARGET=bowser rollup -c",
"prebuild": "rimraf -g '{,!(node_modules)/**/}dist/'",
"build": "npm-run-all rollup:*",
"lint": "eslint ./src",
"test": "cross-env NODE_ENV=test jest ./test",
"semantic-release": "npx semantic-release"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-proposal-export-default-from": "^7.14.5",
"@babel/plugin-proposal-export-namespace-from": "^7.14.5",
"@babel/plugin-proposal-function-bind": "^7.14.5",
"@babel/plugin-proposal-json-strings": "^7.14.5",
"@babel/plugin-proposal-logical-assignment-operators": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-proposal-pipeline-operator": "^7.14.5",
"@babel/plugin-proposal-throw-expressions": "^7.14.5",
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.2",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^24.9.0",
"commitizen": "^4.2.4",
"cross-env": "^5.2.1",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^22.21.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^3.1.0",
"jest": "^27.0.6",
"lint-staged": "^13.2.1",
"npm-run-all": "^4.1.1",
"prettier": "^1.19.1",
"rimraf": "^2.7.1",
"rollup": "^1.32.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-uglify": "^5.0.2",
"semantic-release": "^21.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run lint"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"src/**/*.{js,jsx,less}": [
"prettier --write",
"git add"
]
}
}