forked from sap1ens/heimdall
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 878 Bytes
/
Copy pathpackage.json
File metadata and controls
30 lines (30 loc) · 878 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
25
26
27
28
29
30
{
"name": "heimdall",
"version": "0.10.0",
"private": true,
"type": "module",
"scripts": {
"prepare": "husky",
"lint": "cd src/main/webui && npm run lint",
"lint:fix": "cd src/main/webui && npm run lint:fix",
"format": "cd src/main/webui && npm run format",
"format:check": "cd src/main/webui && npm run format:check",
"format:java": "./gradlew spotlessApply",
"format:java:check": "./gradlew spotlessCheck"
},
"devDependencies": {
"husky": "^9.0.11",
"lint-staged": "^15.2.2"
},
"lint-staged": {
"src/main/webui/**/*.{js,svelte}": [
"bash -c 'cd src/main/webui && npx eslint --fix \"$0\"'"
],
"src/main/webui/**/*.{js,svelte,json,css,md}": [
"bash -c 'cd src/main/webui && npx prettier --write \"$0\"'"
],
"src/main/java/**/*.java": [
"./gradlew spotlessApply --no-daemon"
]
}
}