-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.43 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
86
{
"name": "@skarab/eslint-staged",
"description": "Refines lint-staged functionality, enforcing adherence to ESLint's ignored file configurations.",
"version": "0.0.0-development",
"license": "MIT",
"author": {
"name": "skarab42",
"email": "skarab@bluewin.ch"
},
"funding": "https://github.com/sponsors/skarab42",
"homepage": "https://github.com/skarab42/eslint-staged",
"repository": "https://github.com/skarab42/eslint-staged",
"bugs": "https://github.com/skarab42/eslint-staged/issues",
"type": "commonjs",
"main": "./output/index.js",
"types": "./output/index.d.ts",
"bin": "./output/bin/index.js",
"private": false,
"publishConfig": {
"access": "public"
},
"files": [
"output"
],
"keywords": [
"eslint",
"staged",
"lint-staged"
],
"scripts": {
"prepare": "npx simple-git-hooks",
"clean": "rimraf ./output",
"lint": "eslint . --max-warnings=0",
"lint:fix": "pnpm lint --fix",
"format": "pnpm format:run --check",
"format:run": "prettier **/* --ignore-unknown",
"format:write": "pnpm format:run --write",
"build": "pnpm clean && tsc -p ./tsconfig.build.json",
"build:check": "tsc -p ./tsconfig.json",
"build:watch": "pnpm build --watch",
"test": "pnpm vitest run",
"test:watch": "pnpm vitest watch",
"test:coverage": "pnpm vitest run --coverage",
"release": "semantic-release --branches main",
"bin:eslint-staged": "node ./output/bin/index.js"
},
"peerDependencies": {
"eslint": ">=7.5.0"
},
"devDependencies": {
"@skarab/eslint-config": "^4.1.1",
"@skarab/prettier-config": "^1.2.2",
"@skarab/typescript-config": "^3.1.0",
"@types/eslint": "^8.56.1",
"@types/node": "^20.10.6",
"@vitest/coverage-v8": "^1.1.3",
"eslint": "^8.56.0",
"execa": "^8.0.1",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"semantic-release": "^22.0.12",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.3.3",
"vitest": "^1.1.3"
},
"engines": {
"node": "^18 || >=20",
"pnpm": ">=8"
},
"packageManager": "pnpm@8.13.1",
"prettier": "@skarab/prettier-config",
"eslintConfig": {
"root": true,
"extends": "@skarab/eslint-config/recommended"
},
"lint-staged": {
"*": [
"node ./output/bin/index.js --fix --max-warnings=0",
"pnpm prettier --write --ignore-unknown"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
}
}