mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-04-24 10:39:50 +08:00
chrome: 删除无用脚本和注释,优化ci自动化
This commit is contained in:
29
package.json
29
package.json
@@ -13,33 +13,14 @@
|
||||
"url": "https://github.com/142vip"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "husky install && npx husky add .husky/pre-commit \"npm run lintfix\" && chmod +x .husky/pre-commit",
|
||||
"prepare": "husky install && npx husky add .husky/pre-commit \"./scripts/lint --fix\" && chmod +x .husky/pre-commit",
|
||||
"dev": "vuepress dev docs",
|
||||
"build": "vuepress build docs",
|
||||
"build:proxy": "PROXY_DOMAIN=true vuepress build docs",
|
||||
"image": "bash scripts/build_image.sh $npm_package_version",
|
||||
"image:faster": "bash scripts/build_image.sh $npm_package_version faster",
|
||||
"deploy:ali": "bash scripts/deploy.sh ali $npm_package_version",
|
||||
"deploy:github": "bash scripts/deploy.sh github $npm_package_version",
|
||||
"deploy:vercel": "vercel --prod",
|
||||
"release": "./scripts/release",
|
||||
"lint": "./scripts/lint",
|
||||
"lintfix": "./scripts/lint --fix",
|
||||
"clean": "find . -name \"node_modules\" -type d -exec rm -rf '{}' + "
|
||||
},
|
||||
"scripts-info": {
|
||||
"prepare": "安装依赖预执行脚本",
|
||||
"dev": "本地启动项目",
|
||||
"build": "构建、打包",
|
||||
"build:proxy": "构建、打包,支持项目名代理,使用第三方托管平台",
|
||||
"image": "容器打包、构建镜像",
|
||||
"image:faster": "本地build后,快速构建镜像",
|
||||
"deploy:ali": "部署到阿里云服务器",
|
||||
"deploy:github": "部署到github平台,集成ci",
|
||||
"release": "alpha测试版号更新、正式版本发布",
|
||||
"version:patch": "稳定版号更新,基于master分支操作",
|
||||
"lint": "eslint校验代码,指出异常",
|
||||
"lintfix": "格式化代码,自动化处理异常",
|
||||
"clean": "快速删除本地依赖"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -62,10 +43,8 @@
|
||||
"vue": "^3.3.4",
|
||||
"vuepress": "2.0.0-beta.61",
|
||||
"vuepress-plugin-search-pro": "2.0.0-beta.185",
|
||||
"vuepress-theme-hope": "2.0.0-beta.185"
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"vuepress-theme-hope": "2.0.0-beta.185",
|
||||
"shelljs": "^0.8.5"
|
||||
}
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user