加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.31 KB
一键复制 编辑 原始数据 按行查看 历史
meteorlxy 提交于 2020-04-15 11:29 . build: update release script and config
{
"private": true,
"description": "Minimalistic doc generator with Vue component based layout system",
"workspaces": [
"packages/@vuepress/*",
"packages/vuepress",
"packages/docs"
],
"scripts": {
"boot": "node scripts/bootstrap.js",
"build": "yarn tsc && yarn build:docs",
"build:docs": "yarn workspace docs build",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 2",
"clean": "lerna clean && rm -rf node_modules",
"dev": "yarn tsc && yarn dev:docs",
"dev:docs": "yarn workspace docs dev",
"lint": "eslint packages --ext .js,.ts,.vue",
"packages:changed": "lerna changed",
"packages:diff": "lerna diff",
"packages:list": "lerna ls -l",
"register-vuepress": "lerna exec --scope vuepress -- yarn link",
"release": "yarn lint && yarn build && yarn test && node scripts/release.js",
"remote-version": "node scripts/remote-version.js",
"show-help": "yarn workspace docs show-help",
"test": "node scripts/test.js",
"tsc": "yarn workspace @vuepress/shared-utils tsc",
"unregister-vuepress": "lerna exec --scope vuepress -- yarn unlink",
"update-core-team": "all-contributors generate",
"view-info": "yarn tsc && yarn workspace docs view-info"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,ts,vue}": [
"eslint --fix",
"git add"
],
"package.json": [
"sort-package-json",
"git add"
]
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/escape-html": "^0.0.20",
"@types/fs-extra": "^5.0.4",
"@types/globby": "^9.1.0",
"@types/hash-sum": "^1.0.0",
"@types/lru-cache": "^5.1.0",
"@types/node": "^12.7.5",
"@types/semver": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^2.9.0",
"@typescript-eslint/parser": "^2.9.0",
"all-contributors-cli": "^6.9.1",
"conventional-changelog-cli": "^2.0.23",
"eslint": "^6.7.1",
"eslint-plugin-jest": "^23.0.5",
"eslint-plugin-vue-libs": "^4.0.0",
"husky": "^3.0.5",
"inquirer": "^7.0.0",
"lerna": "3.16.4",
"lint-staged": "^9.3.0",
"minimist": "^1.2.0",
"sort-package-json": "^1.24.0",
"typescript": "^3.6.3"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化