Adds vitetest

This commit is contained in:
Rune Harlyk
2024-02-22 23:52:21 +01:00
parent e2291813a5
commit 6f8df135a1
2 changed files with 308 additions and 1 deletions
+3 -1
View File
@@ -9,6 +9,7 @@
"build": "cross-env FOR_EMBEDDED=true vite build",
"build:web": "cross-env FOR_EMBEDDED=false vite build --mode WEB",
"preview": "vite preview",
"test": "vitest",
"check": "svelte-check --tsconfig ./tsconfig.json",
"format": "prettier --plugin-search-dir . --write ."
},
@@ -32,7 +33,8 @@
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-singlefile": "^1.0.0"
"vite-plugin-singlefile": "^1.0.0",
"vitest": "^1.3.1"
},
"dependencies": {
"nipplejs": "^0.10.1",