Skip to content

Commit eeeb0e7

Browse files
committed
Build on npm publish
1 parent d0d3870 commit eeeb0e7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
"name": "rtc-quickconnect",
33
"version": "5.8.4",
44
"description": "Create a WebRTC connection in record time",
5-
"main": "index.js",
5+
"main": "dist/quickconnect.js",
66
"scripts": {
77
"test": "browserify test/all.js | broth start | tap-spec",
8-
"gendocs": "gendocs > README.md"
8+
"gendocs": "gendocs > README.md",
9+
"prepublish": "grunt dist"
910
},
1011
"repository": {
1112
"type": "git",
@@ -40,6 +41,7 @@
4041
"getusermedia": "^1.1.0",
4142
"grunt": "^0.4.5",
4243
"grunt-browserify": "^3.4.0",
44+
"grunt-cli": "^1.2.0",
4345
"grunt-contrib-uglify": "^0.9.1",
4446
"grunt-contrib-watch": "^0.6.1",
4547
"hosted-git-info": "2.5.0",
@@ -56,4 +58,4 @@
5658
"uuid": "^2.0.1",
5759
"whisk": "^1.0.0"
5860
}
59-
}
61+
}

0 commit comments

Comments
 (0)