hako/webapp/package.json
Felipe M. f3291cdf94
deps: upgrade webapp dependencies
Major bumps: pinia 2 -> 4, vue-router 4 -> 5, vite 6 -> 8, eslint 9 -> 10,
vue-tsc 2 -> 3, @vitejs/plugin-vue 5 -> 6, pdfjs-dist 5 -> 6, marked 17 -> 18.

TypeScript stays on 5.9.3: typescript-eslint declares `typescript
>=4.8.4 <6.1.0` and refuses to load under TS 7, and TS 6 exists only as a
beta. 5.9.3 is the highest version that keeps `make lint-webapp` working.

Drops @codemirror/basic-setup (no importers) and @types/dompurify (an
npm-deprecated stub; dompurify ships its own types).

Vite 8 builds with rolldown, which rejects a type imported as a value, so
Extension moves to an `import type` in JsonEditor.
2026-09-22 12:08:11 +02:00

45 lines
1.2 KiB
JSON

{
"name": "webapp",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:check": "vue-tsc -b && vite build",
"type-check": "vue-tsc -b",
"preview": "vite preview",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@codemirror/commands": "^6.11.1",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lint": "^6.9.7",
"@codemirror/state": "^6.7.6",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.43.13",
"@headlessui/vue": "^1.7.23",
"@tabler/icons-vue": "^3.47.0",
"axios": "^1.20.0",
"dompurify": "^3.4.15",
"marked": "^18.0.14",
"pdfjs-dist": "^6.3.289",
"pinia": "^4.0.3",
"vue": "^3.5.43",
"vue-router": "^5.3.1"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.3",
"@vitejs/plugin-vue": "^6.0.9",
"@vue/eslint-config-typescript": "^14.9.0",
"@vue/tsconfig": "^0.9.1",
"autoprefixer": "^10.6.1",
"eslint": "^10.11.0",
"eslint-plugin-vue": "~10.11.0",
"postcss": "^8.5.28",
"typescript": "~5.9.3",
"vite": "^8.3.0",
"vue-tsc": "^3.3.11"
}
}