-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 1.49 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
{
"name": "lvzg",
"version": "3.1.7",
"description": "前端自动部署工具",
"main": "./bin/lvzg.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"release": "npm version patch&&npm publish --access public --tag latest",
"test-release": "npm publish --dry-run"
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"files": [
"lib",
"bin"
],
"repository": {
"type": "git",
"url": "git+https://github.com/lvzegeng/lvzg.git"
},
"author": "lvzegeng",
"license": "ISC",
"bugs": {
"url": "https://github.com/lvzegeng/lvzg/issues"
},
"homepage": "https://github.com/lvzegeng/lvzg#readme",
"bin": {
"lvzg": "./bin/lvzg.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "cat ./eslinterror.log ./stylelinterror.log"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"node scripts/eliminateError.js eslint --output-file ./eslinterror.log --fix",
"git add"
],
"**/*.{html,json,md}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"chalk": "^2.4.2",
"commander": "^4.0.0",
"fs-extra": "^8.1.0",
"inquirer": "^7.0.0",
"log-symbols": "^3.0.0",
"ora": "^4.0.2"
},
"devDependencies": {
"eslint": "^6.6.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2"
}
}