Vérifie sur les artefacts réels que `dist` résout `tauri` et `dist-web` `http`, en lisant le marqueur `__IDEA_TRANSPORT__` des assets JS émis. La régression de #74 était invisible aux tests unitaires : elle vivait dans la conf de build et de packaging, pas dans le code testé. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "idea-frontend",
|
|
"version": "0.3.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc --noEmit && vite build",
|
|
"build:web": "tsc --noEmit && vite build --mode web --outDir dist-web --emptyOutDir",
|
|
"build:bundle": "npm run typecheck && vite build --outDir dist --emptyOutDir && vite build --mode web --outDir dist-web --emptyOutDir",
|
|
"test:bundle-transport": "node scripts/assert-bundle-transport.mjs",
|
|
"typecheck": "tsc --noEmit",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.1.1",
|
|
"@tauri-apps/plugin-dialog": "^2.7.1",
|
|
"@xterm/addon-fit": "^0.11.0",
|
|
"@xterm/xterm": "^6.0.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-markdown": "^10.1.0",
|
|
"remark-gfm": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.3.0",
|
|
"@tauri-apps/cli": "^2.11.2",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/node": "^20.19.41",
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"jsdom": "^29.1.1",
|
|
"tailwindcss": "^4.3.0",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^5.4.11",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|