add 'preview' script for vite

This commit is contained in:
Jacob Overgaard
2022-05-18 14:21:47 +02:00
parent a88e932317
commit 4728c1300d

View File

@@ -5,6 +5,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview --open",
"test": "echo 'TODO: Implement test'",
"lint": "eslint . --ext .ts --cache",
"generate:api": "npx openapi-typescript schemas/**/*.yml --output schemas/generated-schema.ts"