Added --noEmit to tsc as part of production build

This commit is contained in:
Alejandro Celaya 2022-12-26 10:24:53 +01:00 committed by GitHub
parent 2b17a24206
commit 9b7a169110
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
"lint:css:fix": "npm run lint:css -- --fix", "lint:css:fix": "npm run lint:css -- --fix",
"lint:js:fix": "npm run lint:js -- --fix", "lint:js:fix": "npm run lint:js -- --fix",
"start": "vite serve --host=0.0.0.0", "start": "vite serve --host=0.0.0.0",
"build": "tsc && vite build && node scripts/replace-version.mjs", "build": "tsc --noEmit && vite build && node scripts/replace-version.mjs",
"build:dist": "npm run build && node scripts/create-dist-file.mjs", "build:dist": "npm run build && node scripts/create-dist-file.mjs",
"build:serve": "serve -p 5000 ./build", "build:serve": "serve -p 5000 ./build",
"test": "jest --env=jsdom --colors", "test": "jest --env=jsdom --colors",