]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
feat: add a `typecheck` command for typescript projects
authorHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 26 Jul 2021 11:22:57 +0000 (19:22 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 26 Jul 2021 11:22:57 +0000 (19:22 +0800)
template/config/typescript/package.json

index 2f2f3697d4475908aee78d0972c9645ae969c64c..272edab4fbb89f612e05cf12c7f20af873d63054 100644 (file)
@@ -1,6 +1,7 @@
 {
   "scripts": {
-    "build": "vue-tsc --noEmit && vite build"
+    "build": "vue-tsc --noEmit && vite build",
+    "typecheck": "vue-tsc --noEmit"
   },
   "devDependencies": {
     "typescript": "~4.3.5",