package.json
1.03 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
{
"name": "yoho-brand-shop",
"version": "1.0.0",
"description": "yoho-brand-shop",
"main": "app.js",
"scripts": {
"lint-css": "stylelint -s scss --cache --custom-formatter ./node_modules/stylelint-formatter-table ./**/*.wxss",
"lint-js": "eslint --format table --ext .js,.wxs --cache .",
"lint-all": "echo \"JS: \";npm run -s lint-js;echo \"CSS: \";npm run -s lint-css",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,wxs}": [
"lint-js -- --fix",
"git add"
],
"*.{wxss,scss,css}": [
"lint-css -- --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git@git.yoho.cn:fe/yoho-brand-shop.git"
},
"keywords": [
"yoho"
],
"author": "yoho <fe@yoho.cn> (http://yoho.cn/)",
"license": "UNLICENSED",
"devDependencies": {
"eslint": "^4.16.0",
"eslint-config-yoho": "^1.0.9",
"husky": "^0.14.3",
"lint-staged": "^6.0.1",
"stylelint": "^8.4.0",
"stylelint-config-yoho": "^1.2.12",
"stylelint-formatter-table": "^1.0.4"
}
}