-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.02 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
40
41
42
{
"name": "next-boilerplate",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "next build",
"dev": "next dev",
"preinstall": "npx only-allow yarn",
"lint": "yarn lint:js -- --max-warnings 0 && yarn lint:style -- --max-warnings 0",
"lint:fix": "yarn lint:js -- --fix",
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
"lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore",
"prepare": "husky install",
"start": "next start"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": "eslint --max-warnings 0",
"*.{js,jsx,css,md}": "prettier --write"
},
"dependencies": {
"eslint": "8.46.0",
"eslint-config-next": "13.4.12",
"next": "13.4.12",
"react": "18.2.0",
"react-dom": "18.2.0",
"sass": "^1.64.2"
},
"devDependencies": {
"@svgr/webpack": "^8.0.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.3"
},
"engines": {
"node": ">= 14",
"npm": ">= 7"
}
}