web-ui: init type API checks

This commit is contained in:
Johannes Kirschbauer
2024-06-05 11:07:40 +02:00
parent ad771ae6a0
commit 78dbabf901
5 changed files with 1098 additions and 11 deletions

View File

@@ -5,10 +5,11 @@
"scripts": {
"start": "vite",
"dev": "vite",
"build": "npm run check && vite build && npm run convert-html",
"build": "npm run check && npm run test && vite build && npm run convert-html",
"convert-html": "node gtk.webview.js",
"serve": "vite preview",
"check": "tsc --noEmit --skipLibCheck && eslint ./src"
"check": "tsc --noEmit --skipLibCheck && eslint ./src",
"test": "vitest run --typecheck"
},
"license": "MIT",
"devDependencies": {
@@ -21,6 +22,7 @@
"daisyui": "^4.11.1",
"eslint": "^8.57.0",
"eslint-plugin-tailwindcss": "^3.17.0",
"jsdom": "^24.1.0",
"json-schema-faker": "^0.5.6",
"json-schema-to-ts": "^3.1.0",
"postcss": "^8.4.38",
@@ -31,7 +33,8 @@
"typescript": "^5.4.5",
"typescript-eslint": "^7.10.0",
"vite": "^5.0.11",
"vite-plugin-solid": "^2.8.2"
"vite-plugin-solid": "^2.8.2",
"vitest": "^1.6.0"
},
"dependencies": {
"material-icons": "^1.13.12",