-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.41 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.41 KB
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
{
"name": "busuanzi-statistics",
"version": "0.0.2",
"description": "busuanzi statistics",
"main": "lib/busuanzi-statistics.min.js",
"keywords": [
"不蒜子",
"pv",
"uv",
"busuanzi",
"statistics",
"busuanzi-statistics"
],
"author": {
"name": "Rain120",
"url": "https://github.com/Rain120"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Rain120/busuanzi-statistics.git"
},
"bugs": {
"url": "https://github.com/Rain120/busuanzi-statistics/issues"
},
"homepage": "https://github.com/Rain120/busuanzi-statistics",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:js": "npx babel-cli src/index.js --out-file ./lib/busuanzi-statistics.js",
"build:min": "npx babel-minify src/index.js --out-file ./lib/busuanzi-statistics.min.js --mangle.keepClassName",
"build": "rm -rf ./lib/** & npm run build:js | npm run build:min",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"lint-staged": "lint-staged",
"prepublish": "npm run build"
},
"lint-staged": {
"{src}/**/*.{js}": [
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": [
"lint-staged"
],
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4"
}
}