1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

refactor: move frontend tsc to test script (#2000)

This commit is contained in:
olav 2022-08-30 10:52:30 +02:00 committed by GitHub
parent 4cc3728cf0
commit 1c752590d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,13 +10,13 @@
"node": ">=14" "node": ">=14"
}, },
"scripts": { "scripts": {
"build": "tsc && vite build", "build": "vite build",
"lint": "eslint src --max-warnings 0", "lint": "eslint src --max-warnings 0",
"start": "vite", "start": "vite",
"start:heroku": "UNLEASH_API=https://unleash.herokuapp.com yarn run start", "start:heroku": "UNLEASH_API=https://unleash.herokuapp.com yarn run start",
"start:enterprise": "UNLEASH_API=https://unleash4.herokuapp.com yarn run start", "start:enterprise": "UNLEASH_API=https://unleash4.herokuapp.com yarn run start",
"start:demo": "UNLEASH_BASE_PATH=/demo/ yarn start", "start:demo": "UNLEASH_BASE_PATH=/demo/ yarn start",
"test": "vitest run", "test": "tsc && vitest run",
"test:watch": "vitest watch", "test:watch": "vitest watch",
"fmt": "prettier src --write --loglevel warn", "fmt": "prettier src --write --loglevel warn",
"fmt:check": "prettier src --check", "fmt:check": "prettier src --check",