-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 1.82 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
{
"name": "check-git-clean",
"type": "module",
"version": "1.0.0",
"description": "Check the cleanliness of a Git working directory, identifying untracked, unstaged, and uncommitted changes",
"author": {
"name": "GloryWong",
"email": "[email protected]",
"url": "https://glorywong.com"
},
"license": "MIT",
"homepage": "https://github.com/GloryWong/check-git-clean#readme",
"repository": "github:GloryWong/check-git-clean",
"bugs": "https://github.com/GloryWong/check-git-clean/issues",
"keywords": [
"git",
"clean",
"status",
"untracked",
"unstaged",
"uncommitted",
"changes",
"repository",
"workflow",
"automation",
"version control",
"nodejs",
"typescript"
],
"main": "index.js",
"types": "index.d.ts",
"files": [
"git-ignore-patterns",
"index.d.ts",
"index.js"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsc",
"prepare": "pnpm simple-git-hooks",
"prepublishOnly": "pnpm test && pnpm build",
"lint": "eslint .",
"lint:fix": "pnpm lint --fix",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage.enabled"
},
"devDependencies": {
"@antfu/eslint-config": "^2.27.3",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@tsconfig/node18": "^18.2.4",
"@types/mock-fs": "^4.13.4",
"@types/node": "18.19.74",
"@vitest/coverage-istanbul": "^2.1.8",
"copyfiles": "^2.4.1",
"eslint": "^9.19.0",
"lint-staged": "^15.4.3",
"simple-git-hooks": "^2.11.1",
"type-fest": "^4.33.0",
"typescript": "^5.7.3",
"vitest": "^2.1.8"
},
"simple-git-hooks": {
"commit-msg": "pnpm commitlint --edit ${1}",
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "pnpm lint:fix"
}
}