-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
35 lines (35 loc) · 963 Bytes
/
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
{
"name": "up-frontend-root",
"version": "3.0.0",
"author": "Lukáš Rod <info@lukasrod.cz> (https://lukasrod.cz)",
"private": true,
"license": "MIT",
"engines": {
"node": "20",
"npm": "10"
},
"scripts": {
"postinstall": "cd frontend && npm ci && npm run build:ci",
"frontend:test": "cd frontend && npm run test",
"frontend:audit": "cd frontend && npm run audit",
"frontend:lint:js": "cd frontend && npm run lint:js",
"frontend:lint:css": "cd frontend && npm run lint:css"
},
"devDependencies": {
"husky": "^4.3.8",
"lint-staged": "^10.5.4"
},
"lint-staged": {
"frontend/src/**/*.+(js|jsx|ts|tsx)": [
"npm run frontend:lint:js"
],
"frontend/src/**/*.css": [
"npm run frontend:lint:css"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}