-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.43 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 3.43 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
{
"name": "datagateway-dataview",
"version": "2.2.0",
"private": true,
"type": "module",
"dependencies": {
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@mui/icons-material": "5.11.0",
"@mui/material": "5.11.0",
"@tanstack/react-query": "4.40.0",
"@tanstack/react-query-devtools": "4.40.0",
"@types/history": "4.7.11",
"@types/jsrsasign": "10.5.2",
"@types/lodash.debounce": "4.0.6",
"@types/lodash.memoize": "4.1.6",
"@types/node": "20.19.0",
"@types/react": "18.0.33",
"@types/react-dom": "18.0.11",
"@types/react-router-dom": "5.3.3",
"@types/react-virtualized": "9.22.2",
"@types/redux-logger": "3.0.8",
"@vitejs/plugin-react": "4.6.0",
"axios": "1.11.0",
"browserslist": "4.25.0",
"browserslist-to-esbuild": "2.1.1",
"datagateway-common": "^2.2.0",
"date-fns": "2.30.0",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-cypress": "2.15.1",
"eslint-plugin-prettier": "4.2.1",
"history": "4.10.1",
"i18next": "22.0.3",
"i18next-browser-languagedetector": "7.2.0",
"i18next-http-backend": "2.7.3",
"jsrsasign": "11.1.0",
"lodash.debounce": "4.0.8",
"lodash.memoize": "4.1.2",
"loglevel": "1.9.1",
"prettier": "2.8.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "12.3.1",
"react-redux": "8.1.3",
"react-router-dom": "5.3.4",
"react-virtualized": "9.22.5",
"redux": "4.2.0",
"redux-logger": "3.0.6",
"redux-mock-store": "1.5.4",
"redux-thunk": "2.4.1",
"single-spa-react": "5.1.4",
"tslib": "2.8.1",
"typescript": "5.3.3",
"vite": "5.4.19"
},
"scripts": {
"dev": "vite --open",
"build": "tsc --project tsconfig.build.json && vite build",
"preview": "vite preview",
"preview:build": "yarn build && yarn preview",
"preview:build:dev": "yarn build --watch & yarn preview",
"test": "vitest --coverage",
"build:e2e": "cross-env VITE_BUILD_STANDALONE=true GENERATE_SOURCEMAP=false yarn build",
"e2e:serve": "yarn build: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",
"lint:js": "eslint --max-warnings=0 --ext=tsx --ext=ts --ext=js --ext=jsx --fix ./src ./cypress && tsc --noEmit",
"pre-commit": "lint-staged"
},
"browserslist": [
"defaults"
],
"lint-staged": {
"src/**/*.{tsx,ts,js,jsx,json}": [
"eslint --max-warnings=0 --ext=tsx --ext=ts --ext=js --ext=jsx --fix",
"prettier --write"
],
"cypress/**/*.{tsx,ts,js,jsx}": [
"eslint --max-warnings=0 --fix",
"prettier --write"
]
},
"devDependencies": {
"@babel/eslint-parser": "7.27.5",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "14.3.1",
"@testing-library/user-event": "14.6.1",
"@types/react-redux": "7.1.22",
"@types/redux-mock-store": "1.5.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@vitest/coverage-v8": "3.2.3",
"cross-env": "7.0.3",
"cypress": "13.17.0",
"eslint": "8.57.1",
"eslint-config-react-app": "7.0.0",
"express": "4.21.2",
"jsdom": "26.1.0",
"lint-staged": "13.3.0",
"start-server-and-test": "~2.0.11",
"vitest": "3.2.3",
"vitest-fail-on-console": "0.7.1"
}
}