Skip to content

Commit de8b9c7

Browse files
committed
Add a republish script
1 parent b50c532 commit de8b9c7

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
@@ -4,7 +4,8 @@
44
"description": "A High-Order Component to connect React and Socket.io",
55
"main": "build/index.js",
66
"scripts": {
7-
"build": "babel lib --out-dir build"
7+
"build": "babel lib --out-dir build",
8+
"prepublish": "npm run build"
89
},
910
"repository": {
1011
"type": "git",

0 commit comments

Comments
 (0)