-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.13 KB
/
Copy pathpackage.json
File metadata and controls
40 lines (40 loc) · 1.13 KB
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
{
"name": "leetcode",
"version": "1.0.0",
"description": "> leet code",
"engines": {
"node": ">=22",
"npm": ">=11"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Q-Peppa/LeetCode.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Q-Peppa/LeetCode/issues"
},
"homepage": "https://github.com/Q-Peppa/LeetCode#readme",
"packageManager": "npm@11.12.1",
"devDependencies": {
"@biomejs/biome": "^2.4.9",
"@commitlint/cli": "^20.4.2",
"@commitlint/config-conventional": "^20.4.2",
"simple-git-hooks": "^2.13.1"
},
"dependencies": {
"datastructures-js": "^13.0.0"
},
"scripts": {
"format": "biome check --write --unsafe src",
"check": "biome check src",
"prepare": "simple-git-hooks"
},
"type": "module",
"simple-git-hooks": {
"pre-commit": "npx @biomejs/biome check --staged --write --no-errors-on-unmatched && staged=$(git diff --name-only --cached --diff-filter=ACMR) && { [ -z \"$staged\" ] || printf '%s\\n' \"$staged\" | while IFS= read -r file; do [ -z \"$file\" ] || git add -- \"$file\"; done; }",
"commit-msg": "npx commitlint --edit \"$1\""
}
}