64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"name": "vuepress-theme-reco",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"workspaces": [
|
|
"packages/vuepress-theme-reco",
|
|
"packages/@vuepress-reco/*"
|
|
],
|
|
"scripts": {
|
|
"bootstrap": "lerna bootstrap",
|
|
"build": "vuepress build example",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 2",
|
|
"commit": "git add . && git-cz",
|
|
"dev": "vuepress dev example",
|
|
"eslint-ext": "eslint --ext .js,.vue ./",
|
|
"eslint-fix": "eslint --fix --ext .js,.vue ./",
|
|
"prepublish": "lerna publish --dist-tag next",
|
|
"publish": "lerna publish",
|
|
"push": "yarn commit && git push",
|
|
"test": "bash scripts/test.sh",
|
|
"update": "yarn upgrade-interactive --latest"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,vue}": [
|
|
"eslint --fix --ext .js,.vue ./",
|
|
"git add"
|
|
],
|
|
"package.json": [
|
|
"sort-package-json",
|
|
"git add"
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "node_modules/cz-customizable"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^8.3.5",
|
|
"@commitlint/config-conventional": "^8.3.4",
|
|
"babel-eslint": "^10.1.0",
|
|
"commitizen": "^4.1.2",
|
|
"conventional-changelog-cli": "^2.0.34",
|
|
"cz-customizable": "^6.2.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-plugin-vue": "^6.2.2",
|
|
"husky": "^4.2.5",
|
|
"lerna": "^3.22.0",
|
|
"lint-staged": "^10.2.7",
|
|
"sort-package-json": "^1.44.0",
|
|
"vuepress": "^1.5.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|