|
5 | 5 | "type": "module", |
6 | 6 | "scripts": { |
7 | 7 | "dev": "vite", |
| 8 | + "generate": "json2ts ../src/main/resources/wfc/schemas/report.yaml src/types/GeneratedTypes.tsx", |
8 | 9 | "build": "tsc -b && vite build", |
| 10 | + "installAndBuild": "yarn install && yarn generate && tsc -b && vite build", |
9 | 11 | "lint": "eslint .", |
10 | | - "preview": "vite preview" |
| 12 | + "preview": "vite preview", |
| 13 | + "debug": "cpx \"tests/static/*\" ../target/generated-sources/webreport && vite preview" |
11 | 14 | }, |
12 | 15 | "dependencies": { |
13 | 16 | "@radix-ui/react-accordion": "^1.2.3", |
|
19 | 22 | "@tailwindcss/vite": "^4.0.14", |
20 | 23 | "class-variance-authority": "^0.7.1", |
21 | 24 | "clsx": "^2.1.1", |
| 25 | + "json-schema-to-typescript": "^15.0.4", |
22 | 26 | "lucide-react": "^0.483.0", |
23 | 27 | "react": "^19.0.0", |
24 | 28 | "react-dom": "^19.0.0", |
|
35 | 39 | "@types/react-dom": "^19.0.4", |
36 | 40 | "@types/react-syntax-highlighter": "^15.5.13", |
37 | 41 | "@vitejs/plugin-react": "^4.3.4", |
| 42 | + "cpx": "^1.5.0", |
38 | 43 | "eslint": "^9.21.0", |
39 | 44 | "eslint-plugin-react-hooks": "^5.1.0", |
40 | 45 | "eslint-plugin-react-refresh": "^0.4.19", |
41 | 46 | "globals": "^15.15.0", |
42 | | - "typescript": "~5.7.2", |
| 47 | + "typescript": "^5.8.3", |
43 | 48 | "typescript-eslint": "^8.24.1", |
44 | 49 | "vite": "^6.2.0" |
45 | 50 | } |
|
0 commit comments