/
package.json
67 lines (67 loc) · 2.76 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
{
"name": "root",
"private": true,
"scripts": {
"build": "lerna run build",
"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",
"prepack": "npm-run-all clean build",
"versionup": "lerna version",
"ci:versionup:patch": "lerna version patch --no-push --no-git-tag-version --yes && npm run commit-version",
"ci:versionup:minor": "lerna version minor --no-push --no-git-tag-version --yes && npm run commit-version",
"ci:versionup:major": "lerna version major --no-push --no-git-tag-version --yes && npm run commit-version",
"commit-version": "git add . && git commit -m \"chore(release): v`node -p 'require(\"./lerna.json\").version'`\"",
"release": "lerna publish from-package",
"ci:release": "lerna publish from-package --yes",
"test": "npm-run-all --parallel lint test:projectReferences test:packages",
"updateSnapshot": "lerna run updateSnapshot",
"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 --includesRoot --check",
"update:projectReferences": "workspaces-to-typescript-project-references --includesRoot ",
"type-check": "tsc -b .",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"devDependencies": {
"@monorepo-utils/workspaces-to-typescript-project-references": "^2.10.4",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"lerna": "^7.4.2",
"lint-staged": "^13.3.0",
"npm-run-all2": "^5.0.2",
"prettier": "^2.7.1",
"typescript": "~5.3.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"workspaces": [
"packages/*",
"examples/*",
"packages/@textlint/*",
"packages/textlint-scripts/examples/*",
"test/*",
"website"
],
"packageManager": "npm@9.9.2"
}