forked from saberland/saber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 1.74 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"private": true,
"name": "saber",
"scripts": {
"test": "npm run lint && lerna run test",
"lint": "xo",
"commit": "git-cz",
"prepare": "lerna run prepublishOnly"
},
"repository": {
"url": "saberland/saber",
"type": "git"
},
"author": "egoist<[email protected]>",
"license": "MIT",
"devDependencies": {
"commitizen": "4.0.3",
"conf": "6.0.1",
"cz-conventional-changelog": "3.0.2",
"enquirer": "^2.3.1",
"eslint-config-prettier": "6.3.0",
"eslint-config-rem": "4.0.0",
"eslint-plugin-prettier": "3.1.1",
"husky": "3.0.5",
"lerna": "3.16.4",
"lint-staged": "8.1.6",
"prettier": "1.18.2",
"xo": "0.24.0"
},
"xo": {
"extends": [
"rem",
"plugin:prettier/recommended"
],
"rules": {
"import/no-unassigned-import": "off",
"unicorn/filename-case": "off",
"no-await-in-loop": "off",
"unicorn/no-abusive-eslint-disable": "off",
"camelcase": "off"
},
"ignore": [
"**/dist/**",
"**/vendor/**",
"*.min.js",
"**/vue-renderer/app/**",
"**/example/**",
"**/examples/**",
"website/**"
],
"envs": [
"jest"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.js": [
"xo --fix",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"ignore": [
"**/dist/**",
"**/vendor/**",
"*.min.js",
"**/vue-renderer/app/**",
"**/example/**",
"website/**"
]
},
"workspaces": [
"packages/*",
"other-packages/*"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}