Skip to content

Commit 2f30be1

Browse files
authored
Merge pull request #374 from Jameskmonger/typecheck
build: add `typecheck` script to `package.json`
2 parents 0a72572 + a8301d5 commit 2f30be1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"lint:fix": "eslint --ext .ts src --fix",
2222
"build:watch": "babel ./src --out-dir dist --extensions \".ts,.tsx,.js\" --source-maps --watch",
2323
"build": "rimraf dist && babel ./src --out-dir dist --extensions \".ts,.tsx,.js\" --source-maps",
24-
"test": "jest"
24+
"test": "jest",
25+
"typecheck": "tsc -p ./ --noEmit"
2526
},
2627
"repository": {
2728
"type": "git",

0 commit comments

Comments
 (0)