-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
68 lines (68 loc) · 2.04 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
{
"name": "team-010-frontend",
"version": "0.1.0",
"private": false,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"node-sass": "^4.14.1",
"coveralls": "^3.1.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1",
"styled-components": "^5.1.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"coverage": "react-scripts test --collectCoverageFrom='[\"src/**/*.{js,jsx}\", \"!**/*index.js\", \"!src/serviceWorker.js\", \"!src/components/header/**\", \"!src/components/form-input/**\", \"!src/pages/homepage/**\", \"!src/components/Radio/**\"]' --watchAll=false --env=jsdom --coverage",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"eject": "react-scripts eject",
"test:cover": "npm run coverage && npm run coveralls",
"lint": "eslint \"src/**/*.js\" \"src/**/*.jsx\"",
"check-styles": "npx stylelint '**/*.css'",
"serve": "npm run build && node ./server.js"
},
"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"
]
},
"devDependencies": {
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"prettier": "^2.0.5",
"stylelint": "^13.3.3",
"stylelint-config-standard": "^20.0.0"
},
"nyc": {
"_comment": "Purpose of this part: to do code coverage within Mocha/Chai using Istanbul",
"register": "babel-register",
"include": [
"**/*.js",
"./*.js"
],
"exclude": [
"**/src/serviceWorker.js**",
"**/src/index.js**"
],
"all": true
}
}