2014-04-30 01:55:06 +08:00
|
|
|
{
|
|
|
|
|
"name": "react-basic-commonjs-example",
|
|
|
|
|
"description": "Basic example of using React with CommonJS",
|
2016-03-25 07:40:27 +08:00
|
|
|
"private": true,
|
2014-04-30 01:55:06 +08:00
|
|
|
"main": "index.js",
|
2015-09-19 09:24:53 +08:00
|
|
|
"dependencies": {
|
2016-03-25 07:40:27 +08:00
|
|
|
"babel-preset-es2015": "^6.6.0",
|
|
|
|
|
"babel-preset-react": "^6.5.0",
|
|
|
|
|
"babelify": "^7.2.0",
|
2016-03-27 08:25:29 +08:00
|
|
|
"browserify": "^11.0.1",
|
2016-03-25 07:40:27 +08:00
|
|
|
"react": "15.0.0-rc.2",
|
|
|
|
|
"react-dom": "15.0.0-rc.2",
|
2016-03-27 08:25:29 +08:00
|
|
|
"watchify": "^3.4.0"
|
2014-04-30 01:55:06 +08:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2015-09-29 17:55:01 +08:00
|
|
|
"build": "browserify ./index.js -t babelify -o bundle.js",
|
2016-03-27 08:25:29 +08:00
|
|
|
"start": "watchify ./index.js -v -t babelify -o bundle.js"
|
2014-04-30 01:55:06 +08:00
|
|
|
}
|
|
|
|
|
}
|