added svelte-check to lint

This commit is contained in:
Eugene Pankov 2022-05-18 08:48:33 -07:00
parent 8f2f4f828b
commit e421704799
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -9,7 +9,7 @@
"watch": "vite build -w --mode development --minify false",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"lint": "eslint src",
"lint": "eslint src && svelte-check",
"postinstall": "yarn run openapi-client",
"openapi-schema": "curl http://localhost:8888/api/openapi.json > openapi-schema.json",
"openapi-client": "openapi-generator-cli generate -g typescript-fetch -i openapi-schema.json -o api-client -p npmName=warpgate-api-client -p useSingleRequestParameter=true && cd api-client && npm i && npm run build",