-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 2.08 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "next-js-template",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"typeCheck": "tsc --noEmit -skipLibCheck && echo ✔️ PASSED Types",
"prettier": "prettier --list-different ./pages/**/*.{ts,tsx,scss} ./components/**/*.{ts,tsx,scss} && echo ✔️ PASSED Prettier || (echo Please fix code formatting by running: 'npm run prettier:fix' && exit)",
"prettier:fix": "prettier --write ./pages/**/*.{ts,tsx,scss} ./components/**/*.{ts,tsx,scss} && prettier --write components/**/*.{ts,tsx,scss}",
"lint": "eslint --ext .js,.ts,.tsx,.jsx pages/ components/ && echo '✔️ PASSED ESLint' || (echo Please fix code formatting by running: 'npm run lint:fix' && exit)",
"lint:fix": "eslint --ext .js,.ts,.tsx,.jsx src/ --fix",
"test": "(npm run typeCheck && npm run prettier && npm run lint) && echo 🏠 ✔️ PUSH CHECKING PASSED ✔️ 🏠 || (echo ❌ PLEASE FIX FAILING CHECKS ❌ && exit)"
},
"husky": {
"hooks": {
"pre-push": "npm run test"
}
},
"dependencies": {
"@reduxjs/toolkit": "^1.4.0",
"classnames": "^2.2.6",
"next": "^10.0.7",
"next-pwa": "^3.0.2",
"node-fetch": "^2.6.0",
"node-sass": "^4.14.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0",
"sass-loader": "^9.0.1"
},
"devDependencies": {
"@types/node": "^14.0.18",
"@types/react": "^16.9.41",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.6",
"husky": "^4.2.5",
"prettier": "^2.0.5",
"typescript": "^3.9.6",
"@types/react-redux": "^7.1.9",
"@types/redux": "^3.6.0",
"@types/redux-mock-store": "^1.0.2",
"redux-mock-store": "^1.5.4"
}
}