|
2 | 2 | "name": "paste", |
3 | 3 | "version": "0.1.0", |
4 | 4 | "private": true, |
| 5 | + "type": "module", |
| 6 | + "scripts": { |
| 7 | + "dev": "vite", |
| 8 | + "build": "tsc -b && vite build", |
| 9 | + "lint": "eslint .", |
| 10 | + "preview": "vite preview", |
| 11 | + "format": "prettier --write '**/*.ts' '**/*.tsx' '**/*.css'" |
| 12 | + }, |
5 | 13 | "dependencies": { |
6 | | - "@catppuccin/palette": "^1.7.1", |
| 14 | + "react": "^18.3.1", |
| 15 | + "react-dom": "^18.3.1", |
7 | 16 | "@monaco-editor/react": "^4.6.0", |
| 17 | + "@catppuccin/palette": "^1.7.1", |
8 | 18 | "copy-to-clipboard": "^3.3.3", |
9 | 19 | "history": "^5.3.0", |
10 | | - "local-storage": "^2.0.0", |
11 | 20 | "monaco-editor": "^0.52.0", |
12 | 21 | "monaco-themes": "^0.4.4", |
13 | 22 | "pako": "^2.1.0", |
14 | | - "react": "^19.0.0", |
15 | 23 | "react-device-detect": "^2.2.3", |
16 | | - "react-dom": "^19.0.0", |
17 | | - "react-scripts": "^5.0.1", |
18 | 24 | "styled-components": "^6.1.13", |
19 | | - "typescript": "^5.7.2", |
20 | 25 | "whatwg-mimetype": "^3.0.0" |
21 | 26 | }, |
22 | 27 | "devDependencies": { |
23 | | - "@testing-library/dom": "^10.4.0", |
24 | | - "@testing-library/jest-dom": "^5.14.1", |
25 | | - "@testing-library/react": "^16.1.0", |
26 | | - "@testing-library/user-event": "^13.2.1", |
27 | | - "@types/jest": "^27.0.1", |
28 | | - "@types/node": "^18.11.9", |
| 28 | + "@eslint/js": "^9.17.0", |
| 29 | + "@types/react": "^18.3.18", |
| 30 | + "@types/react-dom": "^18.3.5", |
29 | 31 | "@types/pako": "^2.0.3", |
30 | | - "@types/react": "^19.0.0", |
31 | | - "@types/react-dom": "^19.0.0", |
32 | 32 | "@types/whatwg-mimetype": "^3.0.2", |
| 33 | + "@vitejs/plugin-react-swc": "^3.5.0", |
| 34 | + "eslint": "^9.17.0", |
| 35 | + "eslint-plugin-react-hooks": "^5.0.0", |
| 36 | + "eslint-plugin-react-refresh": "^0.4.16", |
| 37 | + "globals": "^15.14.0", |
| 38 | + "typescript": "~5.6.2", |
| 39 | + "typescript-eslint": "^8.18.2", |
| 40 | + "vite": "^6.0.5", |
33 | 41 | "prettier": "^3.4.2", |
34 | 42 | "prettier-plugin-organize-imports": "^4.1.0" |
35 | | - }, |
36 | | - "scripts": { |
37 | | - "start": "react-scripts start", |
38 | | - "build": "CI=false react-scripts build", |
39 | | - "test": "react-scripts test", |
40 | | - "eject": "react-scripts eject", |
41 | | - "format": "prettier --write '**/*.ts' '**/*.tsx' '**/*.css'", |
42 | | - "compile": "tsc" |
43 | | - }, |
44 | | - "eslintConfig": { |
45 | | - "extends": [ |
46 | | - "react-app", |
47 | | - "react-app/jest" |
48 | | - ] |
49 | | - }, |
50 | | - "browserslist": { |
51 | | - "production": [ |
52 | | - ">0.2%", |
53 | | - "not dead", |
54 | | - "not op_mini all" |
55 | | - ], |
56 | | - "development": [ |
57 | | - "last 1 chrome version", |
58 | | - "last 1 firefox version", |
59 | | - "last 1 safari version" |
60 | | - ] |
61 | 43 | } |
62 | 44 | } |
0 commit comments