forked from textlint/textlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 3.02 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "root",
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build --ignore textlint-website",
"website": "lerna run build --scope textlint-website",
"clean": "lerna run clean",
"eslint": "eslint --cache \"packages/**/{src,test}/**/*.js\"",
"eslint:fix": "eslint --fix --cache \"packages/**/{src,test}/**/*.js\"",
"lint": "npm-run-all eslint",
"lint:fix": "npm-run-all eslint:fix",
"perf": "cd ./examples/perf && npm run test:ci",
"prepublish": "npm-run-all clean build",
"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",
"release:canary": "lerna publish --canary",
"collect-changelog": "git tag --points-at HEAD | xargs -I{} monorepo-utils-collect-changelog {} | pbcopy",
"test": "npm-run-all --parallel lint test:projectReferences test:packages",
"test:all": "npm-run-all test test:examples test:integration test:docs",
"test:docs": "lerna run test --scope textlint-website",
"test:examples": "lerna run test:ci --scope textlint-example-*",
"test:integration": "lerna run test --scope integration-test",
"test:packages": "lerna run test --ignore integration-test --ignore textlint-example-* --ignore textlint-script-* --ignore textlint-website",
"test:projectReferences": "workspaces-to-typescript-project-references --check",
"update:projectReferences": "workspaces-to-typescript-project-references",
"prettier": "prettier --write \"packages/**/*.{js,jsx,ts,tsx,css}\"",
"yarn-check": "yarn check --integrity || (echo '=> Please run `$ yarn bootstrap`' && exit 1)"
},
"devDependencies": {
"@azu/travis-scripts": "^3.0.3",
"@monorepo-utils/collect-changelog": "^2.3.1",
"@monorepo-utils/workspaces-to-typescript-project-references": "^2.4.3",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"conventional-changelog-angular-all": "^1.7.0",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.7",
"lerna": "^3.22.1",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"workspaces": [
"packages/*",
"examples/*",
"packages/@textlint/*",
"test/integration-test",
"website"
],
"husky": {
"hooks": {
"post-commit": "git reset",
"pre-commit": "lint-staged"
}
}
}