-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.84 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
{
"name": "eslint-config-foxkit",
"version": "4.1.2",
"description": "ESlint 9 compatible Configurations",
"type": "commonjs",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/foxkit-js/eslint-config-foxkit.git"
},
"author": "Mitsunee",
"license": "MIT",
"scripts": {
"prepare": "simple-git-hooks",
"format": "prettier -w .",
"format:check": "prettier -c .",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.js .",
"lint:strict": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.js --max-warnings=0 .",
"lint:legacy": "ESLINT_USE_FLAT_CONFIG=false eslint -c eslintrc.js .",
"lint:legacy:strict": "ESLINT_USE_FLAT_CONFIG=false eslint -c eslintrc.js --max-warnings=0 .",
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
"build": "node build.mjs"
},
"nano-staged": {
"**/*.{js,json,md}": [
"prettier -w"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm nano-staged"
},
"files": [
"*.js",
"configs",
"legacy",
"rules",
"LICENSE"
],
"clean-publish": {
"fields": [
"scripts",
"packageManager",
"nano-staged",
"simple-git-hooks"
]
},
"publishConfig": {
"access": "public",
"main": "index.js"
},
"dependencies": {
"@eslint/js": "^8.57.1",
"@typescript-eslint/eslint-plugin": "~8.13.0",
"@typescript-eslint/parser": "~8.13.0",
"eslint-plugin-no-await-in-promise": "^2.0.1",
"globals": "^15.12.0"
},
"devDependencies": {
"esbuild": "^0.24.0",
"eslint": "8.57.0",
"eslint-config-prettier": "^9.1.0",
"nano-staged": "^0.8.0",
"prettier": "^3.3.3",
"simple-git-hooks": "^2.11.1",
"typescript": "~5.6.3"
},
"peerDependencies": {
"eslint": "8.57.0 || 9",
"typescript": "~5.6.0"
}
}