]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix(vitest): allow to typecheck tests (#47)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Fri, 11 Feb 2022 07:49:18 +0000 (08:49 +0100)
committerGitHub <noreply@github.com>
Fri, 11 Feb 2022 07:49:18 +0000 (15:49 +0800)
template/tsconfig/vitest/package.json

index 3cae78678757c46147dbd3d19ada61c1420731ae..453890304e8702388e389ec5641108f0043965b0 100644 (file)
@@ -1,4 +1,7 @@
 {
+  "scripts": {
+    "typecheck": "vue-tsc --noEmit && vue-tsc --noEmit -p tsconfig.vitest.json --composite false"
+  },
   "devDependencies": {
     "@types/jsdom": "^16.2.14"
   }