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
358 B
JSON
17 lines
358 B
JSON
{
|
|
"name": "react-server",
|
|
"version": "0.0.0",
|
|
"description": "",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"start": "cd ../jsapp && node ../reactserver/server.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"dependencies": {
|
|
"envify": "^3.0.0",
|
|
"react": "^0.13.0",
|
|
"express": "^3.5.1",
|
|
"node-jsx": "^0.12.0"
|
|
}
|
|
}
|