-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
37 lines (37 loc) · 1.59 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "root",
"private": true,
"devDependencies": {
"@monorepo-utils/collect-changelog": "2.4.4",
"conventional-changelog-angular-all": "1.7.0",
"husky": "4.3.7",
"lerna": "3.22.1",
"lint-staged": "10.5.3",
"prettier": "2.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lerna run --concurrency 1 --stream precommit"
}
},
"scripts": {
"postinstall": "lerna bootstrap",
"bootstrap": "lerna bootstrap",
"clean": "lerna clean",
"create": "lerna create",
"test": "lerna run test",
"build": "lerna run build",
"copy": "cp packages/textlint-browser-runner/dist/textlint.bundle.min.js ./docs/downloads/ && cp packages/kuromojin-external-dict-loader/kuromojin-external-dict-loader.js ./docs/downloads/ && cp README.md ./docs/index.md",
"doc": "npm run clean && npm run bootstrap && npm run build && npm run copy",
"versionup": "lerna version --conventional-commits --changelog-preset=angular-all",
"versionup:patch": "lerna version patch --conventional-commits --changelog-preset=angular-all",
"versionup:minor": "lerna version minor --conventional-commits --changelog-preset=angular-all",
"versionup:major": "lerna version major --conventional-commits --changelog-preset=angular-all",
"versionup:cancel": "git tag --points-at HEAD | xargs -I{} git tag --delete {} && git reset --hard HEAD^",
"release": "lerna publish from-package --dist-tag latest",
"collect-changelog": "git tag --points-at HEAD | xargs -I{} monorepo-utils-collect-changelog {} | pbcopy"
},
"lint-staged": {
"*.{js,css,md}": "prettier --write"
}
}