Last active
April 20, 2022 00:51
-
-
Save nicohq/fdf688785c3449e388cb7ca50f7436e4 to your computer and use it in GitHub Desktop.
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": "browserify_babelify", | |
"version": "1.1.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"watch": "watchify src/app.js -d -o bundle.js -v [ babelify --presets [es2015] ]", | |
"build": "browserify src/app.js -t [ babelify --presets es2015 ] | uglifyjs -mco bundle.js" | |
}, | |
"browserify": { | |
"transform": [ | |
[ | |
"babelify", | |
{ | |
"presets": [ | |
"es2015" | |
] | |
} | |
] | |
] | |
}, | |
"author": "", | |
"license": "ISC", | |
"devDependencies": { | |
"babelify": "^7.2.0", | |
"browserify": "^14.1.0", | |
"watchify": "^3.7.0", | |
"babel-preset-es2015": "^6.24.0", | |
"uglify-js": "^2.8.14" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I'm having issues with a similar code. Can you help?