mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
The only substantial difference here is that I made the harmony example use ES6 classes. The server rendering example was pretty wacky and hard to run but I did confirm that it works.
17 lines
391 B
JSON
17 lines
391 B
JSON
{
|
|
"name": "example-js-app",
|
|
"version": "0.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "browserify -t reactify -r react -r ./src/App > ../webapp/static/bundle.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"dependencies": {
|
|
"envify": "^3.0.0",
|
|
"react": "^0.13.0",
|
|
"browserify": "^3.38.0",
|
|
"reactify": "^1.0.0"
|
|
}
|
|
}
|