-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.97 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 1.97 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
{
"name": "eslint-rewrite",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "node scripts/build.js",
"build:new-pkg": "node tools/new-pkg.js",
"prepare": "npm run build",
"lint": "eslint",
"lint:fix": "eslint --fix",
"lint:types": "npm run lint:types --workspaces --if-present",
"lint:unused": "knip",
"fmt": "prettier --write .",
"fmt:check": "prettier --check .",
"test": "npm test --workspaces --if-present",
"test:jsr": "npm run test:jsr --workspaces --if-present",
"test:types": "tsc && npm run test:types --workspaces --if-present",
"test:types:5.3": "npx -p typescript@5.3 -y -- tsc -p tsconfig.dist-legacy.json",
"test:types:5.x": "npx -p typescript@5.x -y -- tsc -p tsconfig.dist.json",
"test:types:7.x": "npx -p @typescript/native-preview@latest -y -- tsgo -p tsconfig.dist.json",
"test:types:all": "npm run test:types && npm run test:types:5.3 && npm run test:types:5.x && npm run test:types:7.x",
"test:unit": "npm run test:unit --workspaces --if-present"
},
"workspaces": [
"packages/*"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"!(*.{js,ts})": "prettier --write --ignore-unknown"
},
"engines": {
"node": "^22.13.0 || >=24"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@eslint/config-helpers": "file:packages/config-helpers",
"@types/mocha": "^10.0.7",
"@types/node": "^24.9.1",
"c8": "^11.0.0",
"eslint": "^10.0.3",
"eslint-config-eslint": "^14.0.0",
"knip": "^6.0.0",
"lint-staged": "^16.0.0",
"mocha": "^11.5.0",
"prettier": "3.8.3",
"rollup": "^4.52.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.58.2",
"yorkie": "^2.0.0"
},
"overrides": {
"eslint": {
"@eslint/core": "file:packages/core"
},
"@arethetypeswrong/core": {
"fflate": "0.8.3"
}
}
}