Skip to content

Commit a07ccb3

Browse files
committed
yarn test now works even if project not built, and without manual chmod
1 parent f22392b commit a07ccb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
"typescript": "^3.1.1"
6060
},
6161
"scripts": {
62-
"build": "tsc",
62+
"build": "tsc && chmod +x ./build/index.js",
6363
"watch": "tsc -w",
64-
"test": "jest",
64+
"test": "yarn build && jest",
6565
"test:watch": "jest --watch",
6666
"dev": "run-p test:watch watch",
6767
"prepublish": "tsc"

0 commit comments

Comments
 (0)