Skip to content

Commit

Permalink
chore: fix tsc npm scripts (#9)
Browse files Browse the repository at this point in the history
Move type-checking from `lint` to `test:types`.

Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos authored Sep 4, 2024
1 parent 6e9eb89 commit f767629
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
"indexer"
],
"scripts": {
"lint": "prettier --check . && standard && tsc -p .",
"lint": "prettier --check . && standard",
"lint:fix": "prettier --write . && standard --fix .",
"pretest": "npm run lint",
"test": "npm test --workspaces --if-present"
"test:types": "tsc -p .",
"test:unit": "npm test --workspaces --if-present",
"test": "npm run lint && npm run test:types && npm run test:unit"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f767629

Please sign in to comment.