-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.01 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
{
"name": "eslint-plugin-snippet",
"type": "module",
"version": "0.0.4",
"packageManager": "[email protected]+sha512.47870716bea1572b53df34ad8647b42962bc790ce2bf4562ba0f643237d7302a3d6a8ecef9e4bdfc01d23af1969aa90485d4cebb0b9638fa5ef1daef656f6c1b",
"description": "Comment-as-snippet for one-off codemod with ESLint",
"author": "Moozon <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/moo-w/eslint-plugin-snippet#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/moo-w/eslint-plugin-snippet.git"
},
"bugs": "https://github.com/moo-w/eslint-plugin-snippet/issues",
"keywords": [
"eslint-plugin",
"codemod"
],
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./config": {
"import": "./dist/config.js",
"require": "./dist/config.cjs"
},
"./snippets": {
"import": "./dist/snippets.js",
"require": "./dist/snippets.cjs"
},
"./types": {
"import": "./dist/types.js",
"require": "./dist/types.cjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"test": "vitest",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"eslint:inspect": "pnpx @eslint/config-inspector",
"release": "bumpp && npm publish"
},
"peerDependencies": {
"eslint": "*"
},
"devDependencies": {
"@antfu/eslint-config": "^4.8.1",
"@types/estree": "^1.0.6",
"bumpp": "^10.1.0",
"eslint": "^9.22.0",
"lint-staged": "^15.4.3",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.4.0",
"typescript": "^5.8.2",
"vitest": "^3.0.8"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"simple-git-hooks"
]
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}