Last active
November 9, 2015 12:34
-
-
Save superRaytin/c958693f17da2203141d to your computer and use it in GitHub Desktop.
Initial package.json for React project.
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": "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