-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·72 lines (72 loc) · 1.58 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
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "planets-app",
"private": true,
"version": "1.0.0",
"engines": {
"node": "^10.13 || 12 || 14 || 15",
"npm": ">=6"
},
"dependencies": {
"@craco/craco": "6.1.1",
"@testing-library/jest-dom": "5.11.9",
"@testing-library/react": "11.2.5",
"@testing-library/user-event": "12.6.2",
"chalk": "4.1.0",
"jest-styled-components": "7.0.5",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-slick": "0.28.1",
"styled-components": "5.3.0"
},
"devDependencies": {
"babel-plugin-styled-components": "1.13.2",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-prettier": "3.3.1",
"husky": "4.3.8",
"lint-staged": "10.5.4",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"react-scripts": "4.0.3"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"lint": "eslint .",
"lint:fix": "eslint --fix src/",
"format": "prettier --write \"./src\"",
"run-all": "npm-run-all --parallel test lint:fix"
},
"lint-staged": {
"*.js": [
"npm run lint:fix"
],
"*.{js, jsx, json, html, css}": [
"npm run format"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
]
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
]
}
}