Skip to content

Instantly share code, notes, and snippets.

@superRaytin
Last active November 9, 2015 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save superRaytin/c958693f17da2203141d to your computer and use it in GitHub Desktop.
Save superRaytin/c958693f17da2203141d to your computer and use it in GitHub Desktop.
Initial package.json for React project.
{
"name": "React-awesome",
"version": "0.0.1",
"description": "react awesome project",
"author": "superRaytin@163.com",
"contributors": [],
"repository": "http://github.com/superRaytin/React-awesome",
"dependencies": {
"react": "^0.13.3",
"keymirror": "^0.1.1"
},
"devDependencies": {
"browserify": "^6.2.0",
"envify": "^3.0.0",
"reactify": "^0.15.2",
"object-assign": "~2.0.0",
"uglify-js": "~2.4.15",
"watchify": "^2.1.1",
"http-server": "~0.8.0",
"jshint": "~2.7.0"
},
"scripts": {
"server": "node node_modules/http-server/bin/http-server -p 9000",
"start": "watchify js/app.js -v -d -o js/bundle.js",
"build": "browserify . -t [envify --NODE_ENV production] | uglifyjs -cm > js/bundle.min.js"
},
"browserify": {
"transform": [
"reactify",
"envify"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment