forked from doocs/leetcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 790 Bytes
/
Copy pathpackage.json
File metadata and controls
24 lines (24 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"scripts": {
"prepare": "husky",
"setup:python": "node scripts/run-py.js -m pip install -r requirements.txt",
"preview": "node scripts/run-py.js scripts/preview.py"
},
"devDependencies": {
"@commitlint/cli": "^21.2.3",
"@commitlint/config-conventional": "^21.2.3",
"@prettier/plugin-php": "^0.25.0",
"husky": "^9.1.7",
"lint-staged": "^17.5.1",
"prettier": "^3.9.9",
"prettier-plugin-sql-cst": "^0.22.1"
},
"lint-staged": {
"*.{js,ts,php,sql,md}": "prettier --write",
"*.py": "node scripts/run-py.js -m black -S",
"*.{c,cpp,java}": "node scripts/run-py.js run_format.py --clang-format",
"*.go": "node scripts/run-py.js run_format.py --gofmt",
"*.rs": "rustfmt --edition 2021"
},
"packageManager": "pnpm@11.27.1"
}