Skip to content

Instantly share code, notes, and snippets.

@alexcastillo
Created March 30, 2015 17:52
Show Gist options
  • Save alexcastillo/6eb55b45c5e568f15337 to your computer and use it in GitHub Desktop.
Save alexcastillo/6eb55b45c5e568f15337 to your computer and use it in GitHub Desktop.
browserify sample
{
"name": "sample-app",
"version": "0.0.1",
"description": "App Description",
"main": "js/app.js",
"dependencies": {
"underscore": "^1.7.0"
},
"devDependencies": {
"browserify": "~6.2.0",
"envify": "~3.0.0",
"watchify": "~2.1.0"
},
"scripts": {
"start": "watchify -o js/bundle.js -v -d .",
"build": "browserify . | uglifyjs -cm > js/bundle.min.js"
},
"author": "Alex Castillo",
"browserify": {
"transform": [
"envify"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment