-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.14 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
{
"name": "new_kata",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"prettier-watch": "onchange \"**/*\" -- prettier --write --ignore-unknown {{changed}}",
"prepare": "husky",
"reboot": "rm -rf ./node_modules/ ./package-lock.json && npm install",
"lint": "eslint . --cache --fix",
"pretest": "npm run lint"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/js": "^9.17.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.14.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"onchange": "^7.1.0",
"prettier": "3.4.2",
"validate-branch-name": "^1.3.1",
"vite": "^6.0.3"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
},
"validate-branch-name": {
"pattern": "^(master|main|development){1}$|^(feature|fix|test|chore|refactor|ci)/.+$",
"errorMsg": "Make sure to give a valid branch name."
}
}