-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.48 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
57
58
59
60
{
"name": "webbylab",
"version": "1.0.0",
"author": "Bohdan Petrov <[email protected]>",
"description": "MERN APP",
"license": "ISC",
"scripts": {
"start:client": "react-scripts start",
"start:server": "nodemon server/server.js",
"start": "concurrently \"cd client && npm start start:client\" \"cd server && npm start start:server\"",
"lint": "eslint src -c .eslintrc.json --ext js,jsx",
"precommit": "lint-staged",
"postcommit": "git update-index --again",
"prettier": "prettier --write src/"
},
"dependencies": {},
"devDependencies": {
"concurrently": "^5.1.0",
"eslint": "^6.7.2",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.7.0",
"eslint-import-resolver-webpack": "0.12.1",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.4.0",
"husky": "4.2.3",
"lint-staged": "10.0.7",
"prettier": "^1.14.2"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss}": [
"prettier --write src/",
"git add"
]
}
}