-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
125 lines (125 loc) · 4.97 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
{
"name": "operationsgateway",
"version": "0.1.0",
"type": "module",
"private": true,
"dependencies": {
"@date-io/date-fns": "3.0.0",
"@emotion/cache": "11.14.0",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@hello-pangea/dnd": "17.0.0",
"@mui/base": "5.0.0-beta.40",
"@mui/icons-material": "5.16.2",
"@mui/material": "5.16.2",
"@mui/system": "5.16.2",
"@mui/x-date-pickers": "6.19.0",
"@reduxjs/toolkit": "2.4.0",
"@tanstack/react-query": "5.62.3",
"@tanstack/react-query-devtools": "5.62.3",
"@tanstack/react-table": "8.20.5",
"@types/node": "22.10.1",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react": "4.3.4",
"axios": "1.7.4",
"browserslist": "4.24.2",
"browserslist-to-esbuild": "2.1.1",
"chart.js": "4.4.1",
"chartjs-plugin-zoom": "2.2.0",
"date-fns": "3.6.0",
"hacktimer": "1.1.3",
"husky": "9.1.1",
"loglevel": "1.9.1",
"msw": "2.6.7",
"react": "18.3.1",
"react-colorful": "5.6.1",
"react-dom": "18.3.1",
"react-redux": "9.1.2",
"single-spa-react": "6.0.2",
"typescript": "5.6.2",
"vite": "5.4.11"
},
"resolutions": {
"nwsapi": "2.2.13",
"@types/react": "18.3.3",
"@mui/x-date-pickers@6.19.0": "patch:@mui/x-date-pickers@npm%3A6.19.0#./.yarn/patches/@mui-x-date-pickers-npm-6.19.0-d448743c52.patch"
},
"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": "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": "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: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",
"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",
"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.5.0",
"devDependencies": {
"@eslint/compat": "1.2.4",
"@playwright/test": "1.49.0",
"@tanstack/eslint-plugin-query": "5.62.1",
"@testing-library/cypress": "10.0.1",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.2",
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@types/eslint-plugin-jsx-a11y": "6.10.0",
"@typescript-eslint/typescript-estree": "8.18.0",
"@vitest/coverage-v8": "2.1.8",
"cross-env": "7.0.3",
"cypress": "13.16.0",
"cypress-delete-downloads-folder": "0.0.5",
"eslint": "9.16.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "4.1.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-no-only-tests": "3.3.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-testing-library": "7.1.1",
"express": "4.21.0",
"globals": "15.13.0",
"jsdom": "25.0.1",
"lint-staged": "15.2.0",
"prettier": "3.4.2",
"serve": "14.2.0",
"serve-static": "1.16.0",
"start-server-and-test": "2.0.0",
"typescript-eslint": "8.18.0",
"vitest": "2.1.8",
"vitest-canvas-mock": "0.3.3",
"vitest-fail-on-console": "0.7.1"
},
"msw": {
"workerDirectory": "public"
}
}