From 1c752590d564738b10da36f0a5898849b8af96f9 Mon Sep 17 00:00:00 2001 From: olav Date: Tue, 30 Aug 2022 10:52:30 +0200 Subject: [PATCH] refactor: move frontend tsc to test script (#2000) --- frontend/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 7d29310035..6413119744 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,13 +10,13 @@ "node": ">=14" }, "scripts": { - "build": "tsc && vite build", + "build": "vite build", "lint": "eslint src --max-warnings 0", "start": "vite", "start:heroku": "UNLEASH_API=https://unleash.herokuapp.com yarn run start", "start:enterprise": "UNLEASH_API=https://unleash4.herokuapp.com yarn run start", "start:demo": "UNLEASH_BASE_PATH=/demo/ yarn start", - "test": "vitest run", + "test": "tsc && vitest run", "test:watch": "vitest watch", "fmt": "prettier src --write --loglevel warn", "fmt:check": "prettier src --check",