forked from typescript-eslint/typescript-eslint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
168 lines (168 loc) · 5.86 KB
/
package.json
File metadata and controls
168 lines (168 loc) · 5.86 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "@typescript-eslint/typescript-eslint",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"installConfig": {
"hoistingLimits": "workspaces"
},
"contributors": [
"Brad Zacher <brad.zacher@gmail.com>",
"Josh Goldberg <npm@joshuakgoldberg.com>",
"James Henry <typescript-eslint@jameshenry.blog>"
],
"type": "commonjs",
"license": "MIT",
"repository": "typescript-eslint/typescript-eslint",
"bugs": {
"url": "https://github.com/typescript-eslint/typescript-eslint/issues"
},
"homepage": "https://typescript-eslint.io",
"scripts": {
"build": "nx run-many -t build --exclude website website-eslint",
"check-clean-workspace-after-install": "git diff --quiet --exit-code",
"check-format": "prettier --check .",
"check-spelling": "cspell --config=.cspell.json \"**/*.{md,mdx,ts,mts,cts,js,cjs,mjs,tsx,jsx}\" --no-progress --show-context --show-suggestions",
"clean": "nx run-many -t clean --parallel=20",
"format": "prettier --ignore-path=$PROJECT_CWD/.prettierignore --config=$PROJECT_CWD/.prettierrc.json --write $INIT_CWD",
"generate-breaking-changes": "nx run eslint-plugin:generate-breaking-changes",
"generate-configs": "tsx tools/scripts/generate-configs.mts",
"generate-contributors": "tsx tools/scripts/generate-contributors.mts",
"generate-lib": "tsx tools/scripts/generate-lib.mts",
"generate-sponsors": "tsx tools/scripts/generate-sponsors.mts",
"generate-website-dts": "nx run website:generate-website-dts",
"lint-fix": "yarn lint --fix",
"lint-markdown-fix": "yarn lint-markdown --fix",
"lint-markdown": "markdownlint \"**/*.md\" --config=.markdownlint.json --ignore-path=.markdownlintignore",
"lint-stylelint": "nx lint website stylelint",
"lint": "nx run-many -t lint",
"postinstall": "tsx tools/scripts/postinstall.mts",
"pre-commit": "lint-staged",
"release": "tsx tools/release/release.mts",
"start": "nx run website:start",
"test": "nx run-many -t test --exclude integration-tests website website-eslint",
"test-integration": "nx run integration-tests:test",
"typecheck": "nx run-many -t typecheck"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"devDependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.26.0",
"@nx/devkit": "21.0.3",
"@nx/eslint": "21.0.3",
"@nx/js": "21.0.3",
"@nx/vite": "21.0.3",
"@nx/workspace": "21.0.3",
"@swc/core": "^1.4.12",
"@types/debug": "^4.1.12",
"@types/eslint-plugin-jsx-a11y": "^6.10.0",
"@types/natural-compare": "^1.4.3",
"@types/node": "^22.0.0",
"@types/semver": "^7.5.8",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "workspace:^",
"@typescript-eslint/eslint-plugin-internal": "workspace:^",
"@typescript-eslint/parser": "workspace:^",
"@typescript-eslint/scope-manager": "workspace:^",
"@typescript-eslint/types": "workspace:^",
"@typescript-eslint/typescript-estree": "workspace:^",
"@typescript-eslint/utils": "workspace:^",
"@vitest/coverage-v8": "^3.1.3",
"@vitest/eslint-plugin": "^1.1.44",
"console-fail-test": "^0.5.0",
"cross-fetch": "^4.0.0",
"cspell": "^9.0.0",
"eslint": "^9.26.0",
"eslint-plugin-eslint-plugin": "^6.3.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^50.5.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-perfectionist": "^4.12.3",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-regexp": "^2.7.0",
"eslint-plugin-unicorn": "^59.0.0",
"execa": "7.2.0",
"globals": "^16.0.0",
"husky": "^9.1.4",
"knip": "^5.41.1",
"lint-staged": "^15.2.2",
"markdownlint-cli": "^0.44.0",
"nx": "21.0.3",
"prettier": "3.5.0",
"rimraf": "^5.0.5",
"semver": "7.7.0",
"tsx": "*",
"typescript": ">=4.8.4 <5.9.0",
"typescript-eslint": "workspace:^",
"vite": "^6.3.5",
"vitest": "^3.1.3",
"yargs": "17.7.2"
},
"resolutions": {
"@types/eslint-scope": "link:./tools/dummypkg",
"@types/eslint": "link:./tools/dummypkg",
"@types/estree": "link:./tools/dummypkg",
"@types/node": "^22.0.0",
"@types/react": "^18.2.14",
"eslint-plugin-eslint-plugin@^5.5.0": "patch:eslint-plugin-eslint-plugin@npm%3A5.5.1#./.yarn/patches/eslint-plugin-eslint-plugin-npm-5.5.1-4206c2506d.patch",
"prettier": "3.5.0",
"react-split-pane@^0.1.92": "patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch",
"tsx": "^4.7.2",
"typescript": "5.8.2"
},
"packageManager": "yarn@3.8.2",
"nx": {
"name": "repo",
"includedScripts": [
"generate-configs",
"generate-contributors",
"generate-lib",
"generate-sponsors"
],
"targets": {
"generate-configs": {
"dependsOn": [
"eslint-plugin:build"
]
},
"generate-lib": {
"dependsOn": [
"typescript-eslint:build",
"eslint-plugin-internal:build"
]
},
"// These targets are used for repo level utils and checking repo files which do not belong to specific published packages": {},
"typecheck": {
"command": "tsc -b tsconfig.repo-config-files.json",
"dependsOn": [
"types:copy-ast-spec"
],
"outputs": [
"{workspaceRoot}/dist"
],
"cache": true
},
"lint": {
"command": "eslint . --ignore-pattern=packages --cache",
"dependsOn": [
"typescript-eslint:build",
"eslint-plugin-internal:build"
],
"cache": false
},
"clean": {
"command": "rimraf dist/ coverage/ .eslintcache"
}
}
}
}