forked from varletjs/varlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "root",
"private": true,
"useWorkspaces": true,
"version": "0.0.0",
"author": "haoziqaq <[email protected]>",
"main": "index.js",
"npmClient": "yarn",
"workspaces": [
"packages/*"
],
"license": "MIT",
"scripts": {
"lint": "varlet-cli lint",
"bootstrap": "yarn && node scripts/bootstrap.mjs",
"commit": "git-cz",
"prepare": "husky install",
"publish": "node scripts/publish.mjs && lerna publish"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-lerna-changelog"
}
},
"lint-staged": {
"*.{ts,tsx,js,vue,less}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix",
"*.{vue,css}": "stylelint --fix"
},
"eslintConfig": {
"root": true,
"ignorePatterns": [
"packages/varlet-cli/lib/**",
"packages/varlet-cli/site/**",
"packages/varlet-ui/es/**",
"packages/varlet-ui/umd/**",
"packages/varlet-ui/site/**",
"packages/varlet-ui/src/*/__tests__/**",
"packages/varlet-ui/.varlet/**"
],
"extends": [
"@varlet"
]
},
"stylelint": {
"extends": [
"@varlet/stylelint-config"
],
"ignoreFiles": [
"packages/varlet-cli/lib/**",
"packages/varlet-icons/dist/**",
"packages/varlet-ui/es/**",
"packages/varlet-ui/umd/**",
"packages/varlet-ui/site/**",
"packages/varlet-ui/coverage/**",
"packages/varlet-ui/highlight/**"
]
},
"devDependencies": {
"cz-lerna-changelog": "^2.0.3",
"execa": "^5.0.0",
"lerna": "^3.22.1",
"ora": "^5.4.0",
"vue": "^3.1.4"
}
}