Skip to content

Commit 7912c7c

Browse files
author
Oskar Karlsson
committed
feat(compile): Rebuild package on file change in dev-mode
Added a npm-script for watching changes and re-compile the source file
1 parent bb51990 commit 7912c7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"check-coverage": "istanbul check-coverage --statements 80 --branches 80 --functions 80 --lines 80 ",
88
"commit": "git-cz",
99
"build": "babel src --out-dir dist",
10+
"build:watch": "babel --watch src --out-dir dist",
1011
"prepublish": "npm run build",
1112
"report-coverage": "cat ./coverage/lcov.info | codecov",
1213
"semantic-release": "semantic-release pre && npm publish && semantic-release post",

0 commit comments

Comments
 (0)