-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.07 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
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "music-beast-manager",
"version": "0.1.0",
"private": true,
"homepage": "https://javier-machin.github.io/music-beast-manager",
"dependencies": {
"@babel/runtime": "^7.7.7",
"axios": "^0.19.0",
"cross-env": "^5.2.0",
"gh-pages": "^2.2.0",
"prop-types": "^15.7.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-modal": "^3.10.1",
"react-player": "^1.12.0",
"react-scripts": "^3.3.0",
"universal-cookie": "^4.0.2"
},
"scripts": {
"start": "cross-env PORT=8080 react-scripts start",
"build": "react-scripts build",
"test": "npm run script-test -- --coverage --watchAll=false",
"test-watch": "npm run script-test -- --coverage",
"script-test": "react-scripts test",
"eject": "react-scripts eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": "react-app"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/path/to/dir/",
"!<rootDir>/src/index.js"
],
"coverageThreshold": {
"global": {
"branches": 40,
"functions": 70,
"lines": 55,
"statements": 60
}
},
"coverageReporters": [
"text"
]
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/react": "^9.1.3",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"prettier": "^1.18.2",
"prettier-eslint": "^9.0.0",
"husky": "^3.0.4",
"nock": "^10.0.6"
}
}