|
8 | 8 | "@testing-library/react": "12.1.2", |
9 | 9 | "@types/jest": "27.0.3", |
10 | 10 | "@types/lodash": "4.14.178", |
11 | | - "@types/node": "16.11.12", |
| 11 | + "@types/node": "20.10.0", |
12 | 12 | "@types/prop-types": "15.7.4", |
13 | | - "@types/react": "17.0.37", |
14 | | - "@types/react-dom": "17.0.11", |
| 13 | + "@types/react": "18.2.45", |
| 14 | + "@types/react-dom": "18.2.18", |
15 | 15 | "@types/react-redux": "7.1.20", |
16 | 16 | "@types/react-router": "5.1.17", |
17 | 17 | "@types/react-router-dom": "5.3.2", |
18 | 18 | "@types/redux-logger": "3.0.9", |
19 | 19 | "@types/sinon": "10.0.6", |
20 | 20 | "@types/styled-components": "5.1.17", |
21 | | - "@types/webpack-env": "1.16.3", |
22 | 21 | "@typescript-eslint/typescript-estree": "5.35.1", |
| 22 | + "@vitejs/plugin-react": "^4.2.1", |
23 | 23 | "babel-cli": "6.26.0", |
24 | 24 | "babel-core": "7.0.0-bridge.0", |
25 | 25 | "babel-preset-es2015": "6.24.1", |
|
31 | 31 | "redux-devtools-extension": "2.13.9", |
32 | 32 | "shx": "0.3.3", |
33 | 33 | "ts-node": "10.4.0", |
34 | | - "typescript": "4.8.2" |
| 34 | + "typescript": "5.3.3", |
| 35 | + "vite": "^5.0.8" |
35 | 36 | }, |
36 | 37 | "dependencies": { |
37 | 38 | "@monaco-editor/react": "4.3.1", |
|
45 | 46 | "lodash": "4.17.21", |
46 | 47 | "parse-domain": "4.1.0", |
47 | 48 | "query-string": "7.0.1", |
48 | | - "react": "17.0.2", |
49 | | - "react-dom": "17.0.2", |
| 49 | + "react": "18.2.0", |
| 50 | + "react-dom": "18.2.0", |
50 | 51 | "react-hook-form": "7.21.2", |
51 | 52 | "react-idle-timer": "5.4.1", |
52 | 53 | "react-json-view": "1.21.3", |
53 | 54 | "react-redux": "7.2.6", |
54 | 55 | "react-router": "5.2.0", |
55 | 56 | "react-router-dom": "5.2.0", |
56 | | - "react-scripts": "4.0.3", |
57 | 57 | "react-spring": "9.3.2", |
58 | 58 | "reakit": "1.3.11", |
59 | 59 | "redux": "4.1.2", |
|
68 | 68 | "url-search-params-polyfill": "8.1.1" |
69 | 69 | }, |
70 | 70 | "scripts": { |
71 | | - "start": "export SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts start", |
72 | | - "build": "export SET NODE_OPTIONS=--openssl-legacy-provider && ./npm.sh run hack:remove-sui-css-dep && export SET BUILD_PATH='./target/classes/META-INF/console2' && react-scripts build", |
73 | | - "hack:remove-sui-css-dep": "shx --silent sed -i @import /*import node_modules/semantic-ui-css/semantic.min.css > /dev/null 2>&1", |
74 | | - "dev": "export SET NODE_OPTIONS=--openssl-legacy-provider && babel-node --presets es2015 scripts/devServer.js", |
75 | | - "test": "react-scripts test", |
76 | | - "test:watch": "./npm.sh test --watch", |
| 71 | + "start": "vite", |
| 72 | + "dev": "vite", |
| 73 | + "build": "vite build", |
| 74 | + "build:check": "tsc && vite build", |
| 75 | + "preview": "vite preview", |
| 76 | + "test": "vitest", |
77 | 77 | "pretty": "prettier --tab-width 4 --print-width 100 --single-quote --jsx-bracket-same-line --arrow-parens 'always' parser 'typescript' --write 'src/**/*.{ts,tsx}'" |
78 | 78 | }, |
79 | 79 | "eslintConfig": { |
|
0 commit comments