Skip to content

Commit 9aa64d6

Browse files
authored
add prepublish script (#193)
1 parent 2289dcd commit 9aa64d6

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
@@ -7,7 +7,8 @@
77
"test": "mocha --require ts-node/register --reporter=dot test/**/*-test.ts --timeout=10000",
88
"test-formatting": "test/check-formatting.sh",
99
"format": "scripts/format.sh",
10-
"type-check": "tsc --allowJs --checkJs --noEmit --target es2016 *.js"
10+
"type-check": "tsc --allowJs --checkJs --noEmit --target es2016 *.js",
11+
"prepublishOnly": "npm run build && npm run test"
1112
},
1213
"devDependencies": {
1314
"@types/mkdirp": "^0.5.2",

0 commit comments

Comments
 (0)