forked from ecomfe/veui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.56 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
{
"scripts": {
"dev": "cd packages/veui && npm run serve",
"test": "lerna run test",
"build-components": "cd packages/veui && npm run components && npm run build && cd ../..",
"build-plugin": "cd packages/babel-plugin-veui && npm run build && cd ../..",
"build-loader": "cd packages/veui-loader && npm run build && cd ../..",
"build": "lerna run build",
"bootstrap": "npm i && lerna bootstrap && npm run build-plugin && npm run build-loader"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/{babel-plugin-veui,veui,veui-loader,veui-theme-one}/**/*.{js,vue}": [
"prettier --write",
"eslint --fix",
"git add"
],
"packages/veui-theme-one/**/*.less": [
"prettier --write 'packages/veui-theme-one/**/*.less'",
"stylelint **/*.less --syntax=less",
"git add"
]
},
"devDependencies": {
"babel-eslint": "^7.2.3",
"codecov": "^3.5.0",
"eslint": "^5.8.0",
"eslint-config-prettier": "^4.1.0",
"eslint-config-standard": "^10.2.1",
"eslint-friendly-formatter": "^2.0.7",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.1.0",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-vue": "^5.2.2",
"husky": "^2.3.0",
"lerna": "^2.10.0",
"lint-staged": "^8.1.7",
"prettier": "^1.16.4",
"prettier-eslint": "^8.8.2",
"stylelint": "^8.4.0",
"stylelint-config-prettier": "^5.0.0",
"stylelint-config-standard": "^18.0.0"
}
}