-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
46 lines (46 loc) · 1.49 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
{
"root": true,
"version": "0.5.1",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"bootstrap": "pnpm install && pnpm build",
"build": "pnpm --dir packages/varlet-icon-builder build && pnpm --dir packages/varlet-unplugin-icon-builder build",
"lint": "eslint --ext .ts,.js",
"format": "prettier --write .",
"release": "pnpm build && vr release",
"clean": "rimraf ./node_modules ./packages/*/node_modules"
},
"devDependencies": {
"@varlet/release": "0.2.5",
"eslint": "^8.53.0",
"prettier": "^3.1.0",
"simple-git-hooks": "^2.9.0",
"nano-staged": "^0.8.0",
"typescript": "^5.2.2",
"rimraf": "^5.0.1"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec nano-staged --allow-empty --concurrent false",
"commit-msg": "pnpm exec vr commit-lint -p $1"
},
"nano-staged": {
"*.{ts,tsx,js,vue,less}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix"
},
"packageManager": "pnpm@9.0.0",
"engines": {
"node": ">=16.0.0",
"pnpm": ">=9.0"
},
"pnpm": {
"overrides": {
"array-includes": "npm:@nolyfill/array-includes@latest",
"array.prototype.flat": "npm:@nolyfill/array.prototype.flat@latest",
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@latest",
"object.assign": "npm:@nolyfill/object.assign@latest",
"object.entries": "npm:@nolyfill/object.entries@latest",
"object.values": "npm:@nolyfill/object.values@latest"
}
}
}