Skip to content

Commit

Permalink
Type-check tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Feb 15, 2023
1 parent 44e4798 commit 0ddeaf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@
"format:check": "prettier --list-different \"{src,test}/**/*.{js,ts}\" \"**/*.md\"",
"lint": "eslint --ext js,ts src test",
"check-types": "tsc --noEmit && echo \"Types compiled\"",
"test": "vitest --run",
"test": "vitest --run && yarn test:typecheck",
"test:types": "tsc -p test/typescript && echo \"Typetests passed\"",
"test:watch": "vitest",
"test:cov": "vitest --coverage",
"test:typecheck": "tsc -p test && echo \"Types passed\"",
"build": "rollup -c",
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test && yarn build",
"examples:lint": "eslint --ext js,ts examples",
Expand Down

0 comments on commit 0ddeaf7

Please sign in to comment.