chore: add --noEmit to tsc and extract it to typecheck script (#16)

This commit is contained in:
Ping
2024-06-16 04:33:03 +08:00
committed by GitHub
parent 37b3e5b2a3
commit 7884faf516

View File

@@ -5,7 +5,8 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "npm run typecheck && vite build",
"typecheck": "tsc --noEmit",
"test": "cd tests-ui && npm run test",
"preview": "vite preview"
},