-
Notifications
You must be signed in to change notification settings - Fork 156
/
package.json
58 lines (58 loc) · 1.38 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
{
"name": "vue-jest-monorepo",
"private": true,
"engines": {
"node": ">=10",
"yarn": "^1.17.3"
},
"workspaces": {
"packages": [
"packages/*",
"e2e/2.x/*",
"e2e/2.x/**/entry",
"e2e/3.x/*",
"e2e/3.x/**/entry"
],
"nohoist": [
"**/vue",
"**/vue2-sass-importer-sass-lib"
]
},
"scripts": {
"format": "prettier --no-semi --single-quote --write \"**/*.{js,json,md}\"",
"format:check": "prettier --no-semi --single-quote --check \"**/*.{js,json,md}\"",
"lint": "eslint --ignore-path .gitignore \"{,!(node_modules)/**/}*.js\"",
"lint:fix": "yarn lint --fix",
"test": "yarn lint && yarn format:check && yarn workspaces run test"
},
"devDependencies": {
"eslint": "^5.12.0",
"eslint-config-prettier": "^3.3.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^5.1.0",
"nanoid": "3.3.3",
"husky": "^1.1.4",
"lint-staged": "^8.0.5",
"postcss": "8.4.12",
"prettier": "^1.16.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"semi": false,
"singleQuote": true
},
"lint-staged": {
"*.{js,json,css,md,vue}": [
"yarn format",
"git add"
]
}
}