Update check scripts

This commit is contained in:
Tobias Berger 2021-10-14 12:34:44 +02:00
parent a3b234410b
commit a7ad63b861

View file

@ -13,7 +13,9 @@
"dev:pwa": "yarn build:pwa -w",
"start": "sirv public --no-clear",
"preview": "yarn build && yarn start",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check": "yarn check:game && yarn check:pwa",
"check:game": "svelte-check --tsconfig ./tsconfig.json",
"check:pwa": "svelte-check --tsconfig ./src/pwa/tsconfig.json",
"lint": "yarn lint:prettier && yarn lint:eslint",
"lint:prettier": "pretty-quick --ignore-path .gitignore --check --plugin-search-dir=. .",
"lint:prettier:all": "prettier --ignore-path .gitignore --check --plugin-search-dir=. .",
@ -22,7 +24,7 @@
"fix:prettier": "pretty-quick --ignore-path .gitignore --write --plugin-search-dir=. .",
"fix:prettier:all": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .",
"fix:eslint": "eslint --fix --ignore-path .gitignore ./src/",
"test": "yarn lint:prettier:all && yarn lint:eslint --max-warnings=0 && yarn svelte-check"
"test": "yarn lint:prettier:all && yarn lint:eslint --max-warnings=0 && yarn check"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.0.5",