This repository was archived by the owner on Oct 13, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·82 lines (82 loc) · 2.2 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·82 lines (82 loc) · 2.2 KB
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
{
"name": "react-starter",
"version": "0.1.0",
"private": true,
"dependencies": {
"@axa-fr/react-oidc-context": "^3.1.3",
"@axa-fr/react-toolkit-all": "^1.3.14",
"@axa-fr/react-toolkit-core": "^1.3.14",
"classnames": "^2.2.6",
"core-js": "^3.6.5",
"jest-environment-jsdom-sixteen": "^1.0.3",
"lodash": "^4.17.15",
"moment": "2.27.0",
"oidc-client": "^1.10.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1",
"sass": "^1.26.8"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
"test:coverage": "react-scripts test --env=jest-environment-jsdom-sixteen --coverage --watchAll=false",
"lint": "./node_modules/.bin/eslint ./src/",
"lint:fix": "./node_modules/.bin/eslint ./src/ --fix"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run test -- --watchAll=false"
}
},
"devDependencies": {
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^10.3.0",
"@testing-library/user-event": "^12.0.2",
"eslint": "^7.2.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "^5.1.3",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.3.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.4",
"husky": "^4.2.5",
"jest-fetch-mock": "^3.0.3",
"prettier": "^2.0.5"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/path/to/dir/",
"!**/index.js",
"!**/constants.js"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"clearMocks": true
},
"rootDir": "./"
}