-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
42 lines (42 loc) · 1.32 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
{
"name": "JavaScriptCollection",
"type": "module",
"version": "0.0.2-alpha.22",
"packageManager": "[email protected]",
"description": "一本有趣的JavaScript合集",
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://code.142vip.cn"
},
"engines": {
"node": ">=18.x",
"pnpm": "9.6.0"
},
"scripts": {
"preinstall": "npx only-allow pnpm && chmod +x ./scripts/*",
"postinstall": "rm -rf .git/hooks && npx simple-git-hooks",
"clean": "npx fa clean --ignore-tips --dist --vite --all",
"lint": "npx fa lint",
"lint:fix": "npx fa lint --fix",
"dev": "npx vuepress dev docs",
"build": "npx vuepress build docs --clean-temp --clean-cache",
"build:proxy": "NEED_PROXY=true vuepress build docs --clean-temp --clean-cache",
"release": "npx fa release --vip"
},
"devDependencies": {
"@142vip/eslint-config": "^0.0.1-alpha.2",
"@142vip/fairy-cli": "^0.0.3-alpha.13",
"@142vip/utils": "^0.0.1-alpha.7",
"@142vip/vuepress": "^0.0.1-alpha.8",
"@vuepress/bundler-vite": "2.0.0-rc.17",
"only-allow": "^1.2.1",
"simple-git-hooks": "^2.11.1",
"vuepress": "2.0.0-rc.17"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint",
"prepare-commit-msg": "pnpm build"
}
}