Initial typescript setup

This commit is contained in:
2025-04-03 20:31:00 +02:00
parent f5cf0131cd
commit 49ecaac720
5 changed files with 122 additions and 51 deletions

View File

@@ -5,8 +5,10 @@
"type": "module",
"scripts": {
"start": "vite",
"build": "vite build",
"preview": "vite preview"
"build": "tsc && vite build",
"preview": "vite preview",
"type-check": "tsc --noEmit",
"migrate": "tsc --noEmit --allowJs --checkJs false"
},
"repository": {
"type": "git",
@@ -50,13 +52,15 @@
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"@types/node": "^22.14.0",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"@vitejs/plugin-react": "^4.3.4",
"postcss": "^8.4.47",
"postcss-preset-mantine": "^1.17.0",
"postcss-simple-vars": "^7.0.1",
"sass": "^1.80.4",
"typescript": "^5.8.2",
"vite": "^6.2.4",
"vite-plugin-compression2": "^1.3.0"
},