File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 4
4
"version" : " 0.0.2-alpha.2" ,
5
5
"packageManager" :
" [email protected] " ,
6
6
"engines" : {
7
- "node" : " >=14.20.1"
7
+ "node" : " ^18.x" ,
8
+ "pnpm" : " >=7.2.1"
8
9
},
9
10
"scripts" : {
11
+ "preinstall" : " chmod +x ./scripts/*" ,
10
12
"prepare" : " rm -f .husky/pre-commit && husky install && npx husky add .husky/pre-commit \" ./scripts/lint --fix\" && chmod +x .husky/pre-commit" ,
11
13
"dev" : " vuepress dev docs" ,
12
14
"build" : " vuepress build docs" ,
15
17
"clean" : " find . -name \" node_modules\" -type d -exec rm -rf '{}' + "
16
18
},
17
19
"scripts-info" : {
20
+ "preinstall" : " 在安装依赖前分配脚本权限" ,
21
+ "postinstall" : " 在安装依赖后编译markdown文档转化为思维导图" ,
18
22
"prepare" : " 安装依赖预执行脚本" ,
23
+ "build:mark-map" : " ./scripts/mark-map" ,
19
24
"dev" : " 本地启动项目" ,
20
- "build" : " 构建、打包" ,
21
- "build:proxy" : " 构建、打包,支持项目名代理,使用第三方托管平台" ,
22
- "image" : " 容器打包、构建镜像" ,
23
- "image:faster" : " 本地build后,快速构建镜像" ,
24
- "deploy:ali" : " 部署到阿里云服务器" ,
25
- "deploy:github" : " 部署到github平台,集成ci" ,
26
- "version:alpha" : " alpha测试版号更新,基于next分之操作" ,
27
- "version:patch" : " 稳定版号更新,基于master分支操作" ,
28
- "lint" : " eslint校验代码,指出异常" ,
29
- "lintfix" : " 格式化代码,自动化处理异常" ,
30
25
"clean" : " 快速删除本地依赖"
31
26
},
32
27
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments