-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.89 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.89 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "web-lost-stolen-examiner",
"version": "0.1.0",
"private": true,
"homepage": ".",
"dependencies": {
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"@babel/register": "^7.7.0",
"@hookform/resolvers": "^1.0.0",
"axios": "^0.20.0",
"body-parser": "^1.19.0",
"date-fns": "^2.16.1",
"express": "^4.17.1",
"govuk-frontend": "^3.9.1",
"govuk-react-jsx": "^4.0.3",
"ignore-styles": "^5.0.1",
"ramda": "^0.27.1",
"react": "^16.13.1",
"react-app-polyfill": "^1.0.6",
"react-dom": "^16.13.1",
"react-helmet": "^6.1.0",
"react-router-dom": "^5.2.0",
"xregexp": "^4.4.0",
"yenv": "^2.1.1",
"yup": "^0.29.3"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-flow": "^7.12.1",
"@testing-library/dom": "^7.26.6",
"@testing-library/jest-dom": "^5.11.5",
"@testing-library/react": "^11.1.2",
"@testing-library/user-event": "^12.2.2",
"babel-eslint": "^10.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "6.6.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.21.3",
"eslint-plugin-react-hooks": "^4.1.2",
"jest-mock-axios": "^4.2.1",
"mutationobserver-shim": "^0.3.7",
"node-sass": "^4.14.1",
"object-path": "0.11.5",
"react-hook-form": "^6.9.4",
"react-scripts": "^3.4.3",
"react-test-renderer": "^17.0.1"
},
"resolutions": {
"**/**/object-path": "^0.11.5"
},
"scripts": {
"start": "export PORT=3001 && react-scripts start",
"ssr": "node server/index.js",
"ssr:local": "node server/index.js",
"ssr:local-file": "node server/index.js > ./logs/web-lost-stolen-examiner.log 2>&1",
"build": "react-scripts build",
"test": "export CI=true && react-scripts test",
"test:watch": "react-scripts test --silent=false --watchAll=true",
"test:coverage": "export CI=true && react-scripts test --coverage --watchAll=false",
"eject": "react-scripts eject",
"lint": "eslint --ext .jsx,.js src/"
},
"eslintConfig": {
"extends": "react-app"
},
"jest": {
"collectCoverageFrom": [
"**/*.{js,jsx}",
"!**/node_modules/**",
"!**/coverage/**",
"!**/serviceWorker.js",
"!**/index.js"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"transform": {
"^.+\\.(ts|js|jsx|html)$'": "babel-jest"
},
"resetMocks": true,
"clearMocks": true
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"ie 11"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version",
"ie 11"
]
}
}