Update check scripts
This commit is contained in:
parent
a3b234410b
commit
a7ad63b861
1 changed files with 4 additions and 2 deletions
|
@ -13,7 +13,9 @@
|
||||||
"dev:pwa": "yarn build:pwa -w",
|
"dev:pwa": "yarn build:pwa -w",
|
||||||
"start": "sirv public --no-clear",
|
"start": "sirv public --no-clear",
|
||||||
"preview": "yarn build && yarn start",
|
"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": "yarn lint:prettier && yarn lint:eslint",
|
||||||
"lint:prettier": "pretty-quick --ignore-path .gitignore --check --plugin-search-dir=. .",
|
"lint:prettier": "pretty-quick --ignore-path .gitignore --check --plugin-search-dir=. .",
|
||||||
"lint:prettier:all": "prettier --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": "pretty-quick --ignore-path .gitignore --write --plugin-search-dir=. .",
|
||||||
"fix:prettier:all": "prettier --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/",
|
"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": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-node-resolve": "^13.0.5",
|
"@rollup/plugin-node-resolve": "^13.0.5",
|
||||||
|
|
Reference in a new issue