/
package.json
97 lines (97 loc) · 3.03 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "rehearsal-workspace",
"version": "2.3.2",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/rehearsal-js/rehearsal-js.git"
},
"scripts": {
"generate": "node scripts/processDiagnosticsAndFixes.mjs packages/codefixes/src/diagnosticMessages.json packages/codefixes/src/codefixesMessages.json",
"new-diagnostics": "curl https://raw.githubusercontent.com/microsoft/TypeScript/main/src/compiler/diagnosticMessages.json -o packages/codefixes/src/diagnosticMessages.json",
"build": "pnpm generate && tsc -b",
"build:watch": "pnpm generate && tsc -b --watch",
"lint": "pnpm lint:package-json && eslint --fix . --cache && pnpm recursive run lint",
"lint:package-json": "sort-package-json package.json packages/*/package.json",
"prepare": "husky install",
"test": "pnpm lint && pnpm build && pnpm --recursive run test",
"test:slow": "pnpm build && pnpm --recursive --parallel run test:slow",
"changelog": "pnpm conventional-changelog -i CHANGELOG.md -s",
"clean": "find . -name 'node_modules' -o -name 'dist' -o -name 'coverage' -type d -prune -exec rm -rf '{}' +",
"reset": "pnpm clean && pnpm install",
"release": "node ./scripts/release.js"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"BREAKING CHANGE"
]
]
}
},
"devDependencies": {
"@commitlint/cli": "^17.5.1",
"@commitlint/config-conventional": "^17.4.4",
"@ember/optional-features": "^2.0.0",
"@glint/core": "^1.2.1",
"@rehearsal/reporter": "workspace:*",
"@rehearsal/utils": "workspace:*",
"@types/debug": "^4.1.7",
"@types/eslint": "^8.33.0",
"@types/fs-extra": "^11.0.1",
"@types/glob": "^8.1.0",
"@types/lodash.get": "^4.4.7",
"@types/micromatch": "^4.0.2",
"@types/node": "^20.3.3",
"@types/react": "^18.0.33",
"@types/sarif": "^2.1.4",
"@types/semver": "^7.3.13",
"@types/tmp": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"commander": "^10.0.0",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.40.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"fast-glob": "^3.2.12",
"fixturify": "^3.0.0",
"fixturify-project": "^5.2.0",
"husky": "^8.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.2",
"semver": "^7.3.8",
"sort-package-json": "^2.4.1",
"tmp": "^0.2.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.3",
"walk-sync": "^3.0.0"
},
"packageManager": "pnpm@8.6.7",
"engines": {
"pnpm": ">=8.6"
},
"volta": {
"node": "18.16.1"
}
}