Created
September 12, 2013 06:46
-
-
Save terinjokes/6533746 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var browserify = require('browserify'), | |
fs = require('fs'); | |
var bundleStream = browserify(['./index.js']).bundle({standalone: false, debug: true}); | |
bundleStream.pipe(fs.createWriteStream('terinjokes.js')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var extend = require('extend'), | |
options = {}; | |
module.exports.push = function push(newOptions) { | |
options = extend(true, options, newOptions); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "terinjokes-test", | |
"version": "0.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "node index.js" | |
}, | |
"devDependencies": { | |
"mymodule": "0.0.0" | |
}, | |
"author": "", | |
"license": "BSD-2-Clause" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment