-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.17 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
{
"name": "@susisu/eslint-plugin-safe-typescript",
"version": "0.9.3",
"description": "ESLint plugin that makes your TypeScript code safer",
"repository": "https://github.com/susisu/eslint-plugin-safe-typescript.git",
"author": "Susisu <[email protected]>",
"license": "MIT",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
}
},
"./define-config-support": {
"types": "./lib/dts/define-config-support.d.ts"
}
},
"files": [
"lib",
"src",
"!src/**/*.{test,spec}.{ts,tsx}",
"!src/**/__tests__"
],
"scripts": {
"format": "prettier --write '*.js' src",
"format:check": "prettier --check '*.js' src",
"lint": "eslint --fix '*.js' src",
"lint:check": "eslint '*.js' src",
"test": "vitest run --coverage",
"test:dev": "vitest dev --coverage.enabled --coverage.reporter=text",
"typecheck": "tsc -p tsconfig.json --noEmit",
"build": "tsup",
"copy-dts": "rm -rf lib/dts/ && cp -r src/dts/ lib/dts/",
"prepublishOnly": "run-s format:check lint:check typecheck test build copy-dts"
},
"dependencies": {
"@typescript-eslint/utils": "^8.24.1"
},
"peerDependencies": {
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^9.10.0",
"typescript": "*",
"typescript-eslint": "^8.0.0"
},
"peerDependenciesMeta": {
"@typescript-eslint/parser": {
"optional": true
},
"typescript-eslint": {
"optional": true
}
},
"devDependencies": {
"@qnighy/dedent": "^0.1.1",
"@susisu/eslint-config": "^0.0.94",
"@types/node": "^22.13.5",
"@typescript-eslint/parser": "^8.24.1",
"@typescript-eslint/rule-tester": "^8.24.1",
"@vitest/coverage-v8": "^3.0.6",
"@vitest/eslint-plugin": "^1.1.31",
"eslint": "^9.21.0",
"eslint-plugin-eslint-plugin": "^6.4.0",
"globals": "^16.0.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.5.2",
"tsup": "^8.3.6",
"typescript": "~5.7.3",
"vitest": "^3.0.6"
}
}