Files
frontend/package.json
T
jakob.scheid 3c9fd3052f chore: add TypeScript support
Added TypeScript configuration for Vite and Node (tsconfig.app.json and
tsconfig.node.json, referenced in tsconfig.json).
Vite configuration was migrated to TypeScript.
Added ESLint TypeScript rules and general ESLint TypeScript
configuration.
Npm scripts for type checking have been added and build script has been
updated to run type checking script before building.
2026-10-25 02:36:10 +02:00

47 lines
1.4 KiB
JSON

{
"name": "frontend",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "npm run type-check && vite build",
"preview": "vite preview",
"type-check": "vue-tsc --noEmit -p tsconfig.app.json && tsc --noEmit -p tsconfig.node.json",
"type-check:watch": "vue-tsc --noEmit -p tsconfig.app.json --watch",
"test": "vitest",
"test:run": "vitest run",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier . --write",
"format:check": "prettier . --check"
},
"dependencies": {
"pinia": "^3.0.4",
"pinia-plugin-persistedstate": "^4.7.1",
"terser": "^5.47.1",
"vue": "^3.5.32",
"vue-i18n": "^11.4.4",
"vue-router": "^5.0.6"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@pinia/testing": "^1.0.3",
"@types/node": "^26.6.5",
"@vitejs/plugin-vue": "^6.0.6",
"@vue/test-utils": "^2.4.6",
"eslint": "^10.8.1",
"eslint-plugin-vue": "^10.10.0",
"generate-license-file": "^4.2.1",
"globals": "^17.9.0",
"jsdom": "^29.1.1",
"prettier": "^3.9.6",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.0",
"vite": "^8.0.10",
"vite-plugin-html": "^3.2.2",
"vitest": "^4.1.7",
"vue-tsc": "^3.3.13"
}
}