Skip to content

Instantly share code, notes, and snippets.

@rpechayr
Created August 21, 2015 09:50
Show Gist options
  • Save rpechayr/643da8b1e63027c86b70 to your computer and use it in GitHub Desktop.
Save rpechayr/643da8b1e63027c86b70 to your computer and use it in GitHub Desktop.
Standard React + browserify package.json
{
"name": "sample-react-project",
"version": "1.0.0",
"description": "Compile the project and launch it",
"main": "index.js",
"directories": {
"doc": "doc",
"test": "test"
},
"dependencies": {
"browserify": "~> 10.2.4",
"browserify-incremental": "^3.0.1",
"envify": "^3.4.0",
"express": "^4.13.3",
"react": "^0.13.3",
"reactify": "^1.1.1"
},
"devDependencies": {
"reactify": "^1.1.1",
"watchify": "^3.3.1"
},
"scripts": {
"start": "watchify -o app/assets/javascripts/react/bundle.js -v -d js/app.js"
},
"browserify": {
"transform": [
"reactify",
"envify"
]
},
"author": "Some guy",
"license": "Some license"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment