mirror of
https://github.com/zhigang1992/docz.git
synced 2026-01-12 22:46:49 +08:00
73 lines
1.9 KiB
JSON
73 lines
1.9 KiB
JSON
{
|
|
"private": true,
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Pedro Nauck",
|
|
"email": "pedronauck@gmail.com",
|
|
"url": "https://github.com/pedronauck"
|
|
},
|
|
"homepage": "https://docz.site",
|
|
"bugs": {
|
|
"url": "https://github.com/pedronauck/docz/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/pedronauck/docz.git"
|
|
},
|
|
"scripts": {
|
|
"clean": "lerna clean",
|
|
"bs": "lerna bootstrap",
|
|
"packages": "run-s packages:*",
|
|
"packages:fix": "lerna run fix && echo",
|
|
"packages:lint": "lerna run tslint",
|
|
"packages:build": "lerna run build --ignore docz-example-*",
|
|
"prerelease": "yarn run packages",
|
|
"release": "lerna publish --conventional-commits",
|
|
"release:beta": "yarn release --npm-tag=beta --preid=beta",
|
|
"precommit": "lint-staged",
|
|
"commit": "git-cz",
|
|
"contributors:add": "all-contributors add",
|
|
"contributors:generate": "all-contributors generate"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^7.1.1",
|
|
"@commitlint/config-conventional": "^7.1.1",
|
|
"@commitlint/config-lerna-scopes": "^7.1.1",
|
|
"all-contributors-cli": "^5.4.0",
|
|
"commitizen": "^2.10.1",
|
|
"del": "^3.0.0",
|
|
"husky": "^1.0.0-rc.13",
|
|
"lerna": "3.2.1",
|
|
"libundler": "^1.7.1",
|
|
"lint-staged": "^7.2.2",
|
|
"npm-run-all": "^4.1.3",
|
|
"prettier": "^1.14.2",
|
|
"trash-cli": "^1.4.0",
|
|
"tslint": "^5.11.0",
|
|
"tslint-config-prettier": "^1.15.0",
|
|
"typescript": "^2.9.2"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"examples/*"
|
|
],
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional",
|
|
"@commitlint/config-lerna-scopes"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,md,mdx}": [
|
|
"yarn packages:fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn packages:lint",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
}
|
|
}
|