-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 6.37 KB
/
Copy pathpackage.json
File metadata and controls
143 lines (143 loc) · 6.37 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
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
133
134
135
136
137
138
139
140
141
142
143
{
"name": "operationsgateway",
"version": "1.1.1",
"type": "module",
"private": true,
"dependencies": {
"@date-fns/tz": "1.5.0",
"@date-io/date-fns": "3.2.1",
"@emotion/cache": "11.14.0",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@hello-pangea/dnd": "18.0.1",
"@hookform/resolvers": "^4.0.0",
"@mui/icons-material": "6.5.0",
"@mui/material": "6.5.0",
"@mui/system": "6.5.0",
"@mui/x-date-pickers": "patch:@mui/x-date-pickers@npm%3A7.29.3#~/.yarn/patches/@mui-x-date-pickers-npm-7.29.3-7f059693b3.patch",
"@reduxjs/toolkit": "2.12.0",
"@tanstack/react-query": "5.101.0",
"@tanstack/react-query-devtools": "5.101.0",
"@tanstack/react-table": "8.21.2",
"@types/node": "24.13.2",
"@types/plotly.js": "3.0.10",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react": "5.2.0",
"axios": "1.18.0",
"browserslist": "4.28.1",
"browserslist-to-esbuild": "2.1.1",
"date-fns": "4.4.0",
"fast-deep-equal": "3.1.3",
"hacktimer": "1.1.3",
"husky": "9.1.1",
"loglevel": "1.9.1",
"material-react-table": "^2.13.0",
"msw": "2.14.3",
"react": "18.3.1",
"react-colorful": "5.7.0",
"react-dom": "18.3.1",
"react-hook-form": "^7.53.2",
"react-redux": "9.3.0",
"react-router-dom": "7.16.0",
"single-spa-react": "6.0.2",
"typescript": "5.9.2",
"vite": "7.3.5",
"zod": "^3.23.8"
},
"resolutions": {
"nwsapi": "2.2.13",
"@types/react": "18.3.3"
},
"dependenciesMeta": {
"cypress": {
"built": true
},
"esbuild": {
"built": true
},
"msw": {
"built": true
}
},
"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",
"lint": "eslint --max-warnings=0 --fix ./src ./cypress && tsc --noEmit -p tsconfig.build.json",
"build:e2e:cypress": "cross-env VITE_APP_CYPRESS=true VITE_APP_BUILD_STANDALONE=true VITE_APP_INCLUDE_MSW=true GENERATE_SOURCEMAP=false yarn build",
"build:e2e": "cross-env VITE_APP_BUILD_STANDALONE=true VITE_APP_INCLUDE_MSW=true GENERATE_SOURCEMAP=false yarn build",
"build:e2e:api": "cross-env VITE_APP_BUILD_STANDALONE=true VITE_APP_INCLUDE_MSW=false GENERATE_SOURCEMAP=false yarn build",
"e2e:serve:cypress": "yarn build:e2e:cypress && node ./server/e2e-test-server.js",
"e2e:serve": "yarn build:e2e && node ./server/e2e-test-server.js",
"e2e:serve:api": "yarn build:e2e:api && node ./server/e2e-test-server.js",
"playwright:test:mocked": "docker run -v $PWD:/test -w=/test $(node -e \"if(process.env.CI !== 'true'){if(process.platform === 'win32'){console.log('-it -u pwuser')}else{console.log('-it -u $(id -u):$(id -g)')}}else{console.log('-e CI')}\") --rm --ipc=host -p 9323:9323 --add-host host.docker.internal:host-gateway mcr.microsoft.com/playwright:v$(yarn info @playwright/test --name-only --json | sed -n 's/^.*:\\(.*\\)\"$/\\1/p') yarn playwright test",
"playwright:test:mocked:ui": "docker run -it -v $PWD:/test -w=/test $(node -e \"if(process.platform === 'win32'){console.log('-u pwuser')}else{console.log('-u $(id -u):$(id -g)')}\") --rm --ipc=host -p 8080:8080 -p 3000:3000 --add-host host.docker.internal:host-gateway mcr.microsoft.com/playwright:v$(yarn info @playwright/test --name-only --json | sed -n 's/^.*:\\(.*\\)\"$/\\1/p') yarn playwright test --ui --ui-host=0.0.0.0 --ui-port=8080",
"playwright:test:real": "docker run -v $PWD:/test -w=/test -e \"USE_REAL_API=true\" $(node -e \"if(process.env.CI !== 'true'){if(process.platform === 'win32'){console.log('-it -u pwuser')}else{console.log('-it -u $(id -u):$(id -g)')}}else{console.log('-e CI')}\") --rm --ipc=host -p 9323:9323 --add-host host.docker.internal:host-gateway mcr.microsoft.com/playwright:v$(yarn info @playwright/test --name-only --json | sed -n 's/^.*:\\(.*\\)\"$/\\1/p') yarn playwright test",
"playwright:test:real:ui": "docker run -it -v $PWD:/test -w=/test -e \"USE_REAL_API=true\" $(node -e \"if(process.platform === 'win32'){console.log('-u pwuser')}else{console.log('-u $(id -u):$(id -g)')}\") --rm --ipc=host -p 8080:8080 -p 3000:3000 --add-host host.docker.internal:host-gateway mcr.microsoft.com/playwright:v$(yarn info @playwright/test --name-only --json | sed -n 's/^.*:\\(.*\\)\"$/\\1/p') yarn playwright test --ui --ui-host=0.0.0.0 --ui-port=8080",
"e2e:interactive": "start-server-and-test e2e:serve:cypress http://localhost:3000 cy:open",
"e2e": "start-server-and-test e2e:serve:cypress http://localhost:3000 cy:run",
"cy:open": "cypress open",
"cy:run": "cypress run",
"postinstall": "husky"
},
"lint-staged": {
"src/**/*.{tsx,ts,js,jsx}": [
"eslint --max-warnings=0 --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
],
"cypress/**/*.{tsx,ts,js,jsx}": [
"eslint --max-warnings=0 --fix",
"prettier --write"
]
},
"browserslist": [
"defaults"
],
"packageManager": "yarn@4.16.0",
"devDependencies": {
"@dotenvx/dotenvx": "1.75.1",
"@playwright/test": "1.61.0",
"@tanstack/eslint-plugin-query": "5.101.0",
"@testing-library/cypress": "10.1.0",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.6.1",
"@types/eslint-plugin-jsx-a11y": "6.10.0",
"@typescript-eslint/typescript-estree": "8.61.0",
"@vitest/coverage-v8": "4.1.2",
"cross-env": "10.1.0",
"cypress": "15.18.0",
"cypress-delete-downloads-folder": "0.0.5",
"eslint": "9.39.3",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-cypress": "4.3.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-no-only-tests": "3.4.0",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "5.2.0",
"eslint-plugin-testing-library": "7.16.2",
"express": "5.2.0",
"globals": "17.7.0",
"jsdom": "28.1.0",
"lint-staged": "16.4.0",
"prettier": "3.8.1",
"serve": "14.2.0",
"start-server-and-test": "3.0.0",
"typescript-eslint": "8.61.0",
"vitest": "4.1.2",
"vitest-canvas-mock": "0.3.3",
"vitest-fail-on-console": "0.10.1"
},
"msw": {
"workerDirectory": "public"
}
}