Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 5f1a56d

Browse files
committed
fix: run tsc before test
1 parent 4f86b9d commit 5f1a56d

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
@@ -34,7 +34,7 @@
3434
},
3535
"files": [
3636
"/lib",
37-
"/handle"
37+
"/handle.js"
3838
],
3939
"homepage": "https://github.com/anycli/errors",
4040
"keywords": [
@@ -46,6 +46,7 @@
4646
"scripts": {
4747
"build": "rm -rf lib && tsc",
4848
"lint": "concurrently -p command \"tsc -p test --noEmit\" \"tslint -p test -t stylish\"",
49+
"pretest": "yarn run build",
4950
"posttest": "yarn run lint",
5051
"prepublishOnly": "yarn run build",
5152
"test": "mocha --forbid-only \"test/**/*.test.ts\""

0 commit comments

Comments
 (0)