File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 12
12
"packageManager" : " pnpm@9.6.0" ,
13
13
"engines" : {
14
14
"node" : " >=18.x" ,
15
- "pnpm" : " 9"
15
+ "pnpm" : " 9.6.0 "
16
16
},
17
17
"scripts" : {
18
- "preinstall" : " chmod +x ./scripts/*" ,
18
+ "preinstall" : " npx only-allow pnpm && chmod +x ./scripts/*" ,
19
19
"prepare" : " husky install" ,
20
20
"clean" : " npx fa clean --ignore-tips --dist --vite --all" ,
21
21
"dev" : " vuepress dev docs" ,
22
22
"build" : " vuepress build docs --clean-temp --clean-cache" ,
23
23
"build:proxy" : " PROXY_DOMAIN=true vuepress build docs --clean-temp --clean-cache" ,
24
24
"deploy:vercel" : " vercel --prod"
25
25
},
26
- "scripts-info" : {
27
- "preinstall" : " 在安装依赖前分配脚本权限" ,
28
- "postinstall" : " 在安装依赖后编译markdown文档转化为思维导图" ,
29
- "prepare" : " 安装依赖预执行脚本" ,
30
- "build:mark-map" : " ./scripts/mark-map" ,
31
- "dev" : " 本地启动项目" ,
32
- "clean" : " 快速删除本地依赖"
33
- },
34
26
"devDependencies" : {
35
27
"@142vip/common" : " ^0.0.1-alpha.5" ,
36
28
"@142vip/fairy-cli" : " ^0.0.3-alpha.10" ,
You can’t perform that action at this time.
0 commit comments