Skip to content

Commit 7479ce2

Browse files
committed
improve check scripts
1 parent 7ba28e7 commit 7479ce2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
"sync": "svelte-kit sync",
1111
"package": "svelte-kit package",
1212
"test": "echo \"Error: no test specified\" && exit 1",
13-
"check": "svelte-check --tsconfig ./tsconfig.json",
13+
"check": "npm run check-svelte && npm run check-ts",
14+
"check-svelte": "svelte-check --tsconfig ./tsconfig.json",
15+
"check-ts": "tsc --noEmit",
1416
"storybook": "start-storybook -p 6006",
1517
"build-storybook": "build-storybook",
1618
"sirv": "sirv storybook-static"

0 commit comments

Comments
 (0)