-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
85 lines (85 loc) · 2.15 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
{
"name": "@configurajs/eslint",
"version": "0.1.2",
"description": "A simple eslint flat configuration",
"keywords": [
"eslint",
"preset",
"config"
],
"bugs": {
"url": "https://github.com/configurajs/eslint/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/configurajs/eslint.git"
},
"license": "MIT",
"author": "haoziqaq <[email protected]>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
"clean": "rimraf node_modules dist",
"dev": "tsup src/index.ts --format esm --watch --dts",
"format": "prettier --write .",
"lint": "eslint . --fix",
"prepare": "simple-git-hooks && pnpm build",
"release": "vr release"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec nano-staged --allow-empty",
"commit-msg": "pnpm exec vr commit-lint -p $1"
},
"nano-staged": {
"*.{md}": "prettier --write",
"*.{ts}": [
"prettier --write",
"eslint --fix"
]
},
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
"@eslint-react/eslint-plugin": "^1.23.1",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"@vitest/eslint-plugin": "^1.1.25",
"eslint-plugin-import-x": "^4.6.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-vue": "^9.32.0",
"globals": "^15.14.0",
"vue-eslint-parser": "^9.4.3"
},
"devDependencies": {
"@configurajs/prettier": "^0.1.1",
"@types/node": "^22.8.1",
"@varlet/release": "^0.3.1",
"eslint": "^9.17.0",
"nano-staged": "0.8.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"tsup": "8.3.5",
"typescript": "5.3.3"
},
"peerDependencies": {
"eslint": "^9.17.0"
},
"packageManager": "[email protected]",
"engines": {
"pnpm": ">=9.0"
}
}