From a7ad63b86125b4f09b5ac80ba12287b4b31552db Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Thu, 14 Oct 2021 12:34:44 +0200 Subject: [PATCH] Update check scripts --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index be5bc0c..2f74e74 100644 --- a/package.json +++ b/package.json @@ -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",