From 038256fa916dbf86ea2d930344ce1b678313489f Mon Sep 17 00:00:00 2001 From: Igor Wessel Date: Tue, 16 Apr 2024 14:32:04 -0300 Subject: [PATCH] build: add typecheck for playground --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d81b54d3..9bd23f36 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "build": "rm -rf ./dist && tsc -b src", "test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .", "start": "vite playground", - "build:playground": "vite build playground", + "typecheck": "tsc --noEmit", + "build:playground": "npm run typecheck --project ./playground/tsconfig.json && vite build playground", "preview": "npm run build:playground && vite preview --outDir ./public" }, "dependencies": {