Skip to content

Commit 9e2aaf3

Browse files
committed
Add dev script for use with npm link
1 parent e4e0965 commit 9e2aaf3

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
@@ -5,7 +5,8 @@
55
"main": "lib/index.js",
66
"scripts": {
77
"build": "rm -rf lib && babel src -d lib --presets=env,react --plugins=transform-object-rest-spread",
8-
"prepublish": "npm run build"
8+
"prepublish": "npm run build",
9+
"dev": "npm link && babel src -d lib --watch --presets=env,react --plugins=transform-object-rest-spread"
910
},
1011
"files": [
1112
"src",

0 commit comments

Comments
 (0)