Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
Wrapping mows to allow complex dependency tree in browserify.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Jun 4, 2014
1 parent 095e2af commit 646205d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/webClient.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

module.exports = require("mows");
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"jshint-lib": "jshint lib",
"jshint-test": "jshint test",
"start": "./bin/mosca -v | bunyan",
"bundle": "browserify node_modules/mows/index.js -s mqtt > public/mqtt.js",
"bundle": "browserify lib/webClient.js -s mqtt > public/mqtt.js",
"postinstall": "npm run bundle"
},
"pre-commit": [
Expand Down

0 comments on commit 646205d

Please sign in to comment.