Created
March 30, 2015 17:52
-
-
Save alexcastillo/6eb55b45c5e568f15337 to your computer and use it in GitHub Desktop.
browserify sample
This file contains 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": "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