From ab7a94e3ff0a6cad5965062224ff18a2f70498f9 Mon Sep 17 00:00:00 2001 From: Zéro~Informatique Date: Fri, 18 Nov 2022 01:35:45 +0100 Subject: viewer: typescript check before build --- viewer/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'viewer') diff --git a/viewer/package.json b/viewer/package.json index 4850db6..f5ac5e3 100644 --- a/viewer/package.json +++ b/viewer/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "serve": "vue-cli-service serve", - "build": "vue-cli-service build", + "build": "vue-tsc --noEmit && vue-cli-service build", "lint": "vue-cli-service lint --no-fix --max-warnings 0", "lint-autoformat": "vue-cli-service lint --fix" }, @@ -45,7 +45,8 @@ "sass": "1.54.0", "sass-loader": "13.0.2", "typescript": "4.8.4", - "vue-cli-plugin-pinia": "0.1.6" + "vue-cli-plugin-pinia": "0.1.6", + "vue-tsc": "1.0.9" }, "homepage": "https://ldgallery.pacien.org/", "license": "AGPL-3" -- cgit v1.2.3