-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
132 lines (132 loc) · 4.57 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "scigateway",
"version": "2.0.0",
"private": true,
"resolutions": {
"@types/react": "17.0.38",
"@types/react-dom": "17.0.11",
"@typescript-eslint/eslint-plugin": "7.0.2",
"@typescript-eslint/parser": "7.0.2"
},
"dependencies": {
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@mui/icons-material": "5.15.10",
"@mui/material": "5.15.10",
"@types/history": "4.7.3",
"@types/jest": "29.5.2",
"@types/js-cookie": "3.0.1",
"@types/react-dom": "17.0.11",
"@types/react-redux-toastr": "7.6.0",
"@types/react-router-dom": "5.3.1",
"@types/redux-logger": "3.0.8",
"axios": "1.7.4",
"connected-react-router": "6.9.1",
"cookie-parser": "1.4.5",
"custom-event-polyfill": "1.0.7",
"cypress-failed-log": "2.10.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-prettier": "5.1.3",
"express": "4.20.0",
"husky": "9.0.6",
"i18next": "23.8.2",
"i18next-browser-languagedetector": "7.2.0",
"i18next-http-backend": "2.4.2",
"js-cookie": "3.0.1",
"jsonwebtoken": "9.0.0",
"loglevel": "1.9.1",
"prettier": "3.2.5",
"prop-types": "15.8.1",
"query-string": "7.1.1",
"react": "17.0.2",
"react-app-polyfill": "3.0.0",
"react-dom": "17.0.2",
"react-i18next": "14.0.1",
"react-joyride": "2.7.2",
"react-redux": "8.1.2",
"react-redux-toastr": "7.6.8",
"react-router-dom": "5.3.0",
"react-scripts": "5.0.0",
"redux": "4.2.0",
"redux-logger": "3.0.6",
"redux-thunk": "3.1.0",
"single-spa": "5.9.1",
"typeface-roboto": "1.1.13",
"typescript": "5.3.3"
},
"scripts": {
"lint:js": "eslint --max-warnings=0 --ext=tsx --ext=ts --ext=js --ext=jsx --fix ./src",
"lint:cypress": "eslint --ext=tsx --ext=js --ext=jsx --fix ./cypress",
"serve:plugins": "node micro-frontend-tools/serve-plugins.js",
"start": "cross-env concurrently \"yarn serve:plugins\" \"node server/auth-server.js\" \"react-scripts start\"",
"build": "react-scripts build",
"build:e2e": "cross-env GENERATE_SOURCEMAP=false react-scripts build",
"test": "react-scripts test --env=jsdom --coverage --watchAll=false",
"test:watch": "react-scripts test --env=jsdom --watch",
"e2e:serve": "yarn build:e2e && concurrently \"node server/auth-server.js e2e\" \"node ./server/e2e-test-server.js\"",
"e2e:interactive": "start-server-and-test e2e:serve http://localhost:3000 cy:open",
"e2e": "start-server-and-test e2e:serve http://localhost:3000 cy:run",
"cy:open": "cypress open",
"cy:run": "cypress run",
"eject": "react-scripts eject",
"postinstall": "husky install; yarn copy-cdn-fallbacks",
"copy-cdn-fallbacks": "node -e \"const fs = require('fs'); fs.copyFile('node_modules/react/umd/react.production.min.js', 'public/react.production.min.js', (err) => { if (err) throw err;}); fs.copyFile('node_modules/react-dom/umd/react-dom.production.min.js', 'public/react-dom.production.min.js', (err) => { if (err) throw err;});\""
},
"lint-staged": {
"src/**/*.{tsx,js,jsx,json}": [
"eslint --max-warnings=0 --ext=tsx --ext=ts --ext=js --ext=jsx --fix",
"prettier --config .prettierrc --write"
],
"cypress/**/*.{tsx,js,jsx}": [
"eslint --fix",
"prettier --config .prettierrc --write"
]
},
"eslintConfig": {
"extends": "react-app"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{tsx,js,jsx,ts}",
"!src/index.tsx",
"!src/serviceWorker.ts",
"!src/setupTests.ts",
"!src/state/reducers/App.reducer.tsx",
"!src/state/actions/loadMicroFrontends.tsx"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 10",
"not op_mini all"
],
"devDependencies": {
"@babel/eslint-parser": "7.23.3",
"@testing-library/jest-dom": "6.4.1",
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "14.5.2",
"@types/jsonwebtoken": "9.0.1",
"@types/node": "20.16.5",
"@types/react": "17.0.38",
"@types/react-redux": "7.1.20",
"@types/react-router": "5.1.12",
"@types/redux-mock-store": "1.0.2",
"@typescript-eslint/eslint-plugin": "7.0.2",
"@typescript-eslint/parser": "7.0.2",
"axios-mock-adapter": "1.22.0",
"concurrently": "8.2.0",
"cors": "2.8.5",
"cross-env": "7.0.3",
"cypress": "13.6.4",
"eslint": "8.56.0",
"eslint-config-react-app": "7.0.0",
"lint-staged": "15.2.0",
"redux-mock-store": "1.5.4",
"serve": "14.2.0",
"start-server-and-test": "2.0.0",
"wait-on": "7.2.0"
},
"packageManager": "[email protected]"
}