This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
74 lines (74 loc) · 2.22 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
{
"private": true,
"version": "0.2.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"bootstrap": "pnpm install --shamefully-hoist && node scripts/bootstrap.mjs",
"lint": "varlet-vue2-cli lint",
"changelog": "varlet-vue2-cli changelog",
"release": "node scripts/publish.mjs && varlet-vue2-cli release"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --allow-empty --concurrent false",
"commit-msg": "npx --no-install varlet-vue2-cli commit-lint $1"
},
"lint-staged": {
"*.{ts,tsx,js,vue,less}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix",
"*.{vue,css,less}": "stylelint --fix"
},
"eslintConfig": {
"root": true,
"ignorePatterns": [
"packages/varlet-vue2-cli/lib/**",
"packages/varlet-vue2-cli/site/**",
"packages/varlet-vue2-ui/lib/**",
"packages/varlet-vue2-ui/es/**",
"packages/varlet-vue2-ui/umd/**",
"packages/varlet-vue2-ui/site/**",
"packages/varlet-vue2-ui/public/**",
"packages/varlet-vue2-ui/src/*/__tests__/**",
"packages/varlet-vue2-ui/.varlet/**",
"packages/varlet-vue2-ui/global.d.ts",
"packages/varlet-vue2-ui/types/global.d.ts"
],
"extends": [
"@varlet-vue2"
]
},
"stylelint": {
"extends": [
"@varlet-vue2/stylelint-config"
],
"ignoreFiles": [
"packages/varlet-vue2-cli/lib/**",
"packages/varlet-vue2-cli/site/**",
"packages/varlet-vue2-ui/lib/**",
"packages/varlet-vue2-ui/es/**",
"packages/varlet-vue2-ui/umd/**",
"packages/varlet-vue2-ui/site/**",
"packages/varlet-vue2-ui/coverage/**",
"packages/varlet-vue2-ui/highlight/**",
"packages/varlet-vue2-ui/public/**",
"packages/varlet-vue2-ui/.varlet/**"
]
},
"devDependencies": {
"@varlet-vue2/cli": "workspace:*",
"@varlet-vue2/eslint-config": "workspace:*",
"@varlet-vue2/stylelint-config": "workspace:*",
"eslint": "^7.30.0",
"execa": "^5.0.0",
"lint-staged": "^10.5.0",
"ora": "^5.4.0",
"prettier": "^2.3.2",
"simple-git-hooks": "^2.7.0",
"stylelint": "^13.13.1",
"surge": "^0.23.0",
"typescript": "^4.4.4"
},
"packageManager": "[email protected]",
"engines": {
"pnpm": ">=7.9"
}
}