Last active
October 14, 2015 06:18
-
-
Save NejcZdovc/c5ef1ab19c649de4704a to your computer and use it in GitHub Desktop.
Npm settings browserify/watchify => react + es6
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": "react-compile", | |
"main": "index.js", | |
"devDependencies": { | |
"browserify": "latest", | |
"envify": "^3.2.0", | |
"react": "^0.13.0", | |
"reactify": "^0.17.1", | |
"watchify": "latest", | |
"babelify": "latest" | |
}, | |
"scripts": { | |
"build": "browserify index.js > bundle.js --debug --transform [reactify , babelify]", | |
"watch": "watchify index.js -o bundle.js -dv --transform [reactify , babelify]" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment