|
11 | 11 | "@material-ui/core": "^4.11.4", |
12 | 12 | "@material-ui/icons": "^4.11.2", |
13 | 13 | "@material-ui/lab": "^4.0.0-alpha.59", |
14 | | - "@types/node": "^12.0.0", |
| 14 | + "@types/node": "^14.0.0", |
15 | 15 | "@types/react": "^17.0.0", |
16 | 16 | "@types/react-dom": "^17.0.0", |
17 | 17 | "@types/uuid": "^8.3.4", |
|
22 | 22 | "normalize.css": "^8.0.1", |
23 | 23 | "react": "^17.0.2", |
24 | 24 | "react-dom": "^17.0.2", |
25 | | - "react-scripts": "4.0.3", |
26 | 25 | "typescript": "^4.1.2", |
27 | 26 | "uuid": "^9.0.0", |
28 | 27 | "web-vitals": "^1.0.1" |
29 | 28 | }, |
30 | 29 | "scripts": { |
31 | | - "start": "react-scripts start", |
32 | | - "build": "react-scripts build", |
33 | | - "test": "react-scripts test", |
34 | | - "eject": "react-scripts eject", |
| 30 | + "dev": "vite", |
| 31 | + "start": "vite", |
| 32 | + "preview": "vite preview", |
| 33 | + "build": "tsc && vite build", |
35 | 34 | "lint": "eslint --cache --quiet **/*.{ts,tsx,js,jsx} && prettier --check **/*.{ts,tsx,js,jsx,json,yml,css,html,md}", |
36 | 35 | "lint:fix": "eslint --cache --quiet --fix **/*.{ts,tsx,js,jsx} && prettier --write **/*.{ts,tsx,js,jsx} && prettier --write **/*.{json,yml,css,html,md}" |
37 | 36 | }, |
|
54 | 53 | }, |
55 | 54 | "devDependencies": { |
56 | 55 | "@types/jsoneditor": "^8.6.1", |
57 | | - "@typescript-eslint/eslint-plugin": "^4.27.0", |
58 | | - "@typescript-eslint/parser": "^4.27.0", |
| 56 | + "@typescript-eslint/eslint-plugin": "^5.48.0", |
| 57 | + "@typescript-eslint/parser": "^5.48.0", |
| 58 | + "@vitejs/plugin-legacy": "^3.0.1", |
| 59 | + "@vitejs/plugin-react": "^3.0.1", |
59 | 60 | "eslint": "^7.28.0", |
60 | 61 | "eslint-config-prettier": "^8.3.0", |
61 | 62 | "eslint-plugin-import": "^2.23.4", |
62 | 63 | "eslint-plugin-react": "^7.24.0", |
63 | 64 | "lint-staged": "^11.0.0", |
64 | 65 | "prettier": "^2.3.1", |
65 | | - "pretty-quick": "^3.1.0" |
| 66 | + "pretty-quick": "^3.1.0", |
| 67 | + "terser": "^5.16.1", |
| 68 | + "vite": "^4.0.4" |
66 | 69 | }, |
67 | 70 | "lint-staged": { |
68 | 71 | "*.{ts,tsx,js,jsx}": [ |
|
72 | 75 | "*.{json,yml,css,html,md}": "prettier --write --prose-wrap never", |
73 | 76 | "*.js": "eslint --cache --fix", |
74 | 77 | "*.{js,css,md}": "prettier --write" |
75 | | - }, |
76 | | - "overrides": { |
77 | | - "css-select": "^3.1.0", |
78 | | - "css-what": "^5.0.1", |
79 | | - "shell-quote": "^1.7.3", |
80 | | - "node-forge": "^1.0.0", |
81 | | - "immer": "^9.0.6", |
82 | | - "glob-parent": "^5.1.2", |
83 | | - "ejs": "^3.1.7", |
84 | | - "browserslist": "^4.16.5", |
85 | | - "ansi-html": "^0.0.8" |
86 | 78 | } |
87 | 79 | } |
0 commit comments