Merge pull request #779 from shlinkio/feature/tweak-ts

Added --noEmit to tsc as part of production build
This commit is contained in:
Alejandro Celaya 2022-12-26 10:31:31 +01:00 committed by GitHub
commit d6d237fc52
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:js:fix": "npm run lint:js -- --fix",
"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:serve": "serve -p 5000 ./build",
"test": "jest --env=jsdom --colors",