[Website] Use postinstall hook to npm install react-docgen

This commit is contained in:
Christopher Chedeau 2015-03-13 21:20:55 -07:00
parent c08243d08a
commit 2cdce0f3df
2 changed files with 2 additions and 9 deletions

View File

@ -6,14 +6,6 @@ The first time, get all the dependencies loaded via
npm install
```
You also have to run `npm install` inside the `react-docgen` folder. This is only temporary until `react-docgen` is available as npm module.
```
cd react-docgen
npm install
cd ..
```
Then, run the server via
```

View File

@ -1,6 +1,7 @@
{
"scripts": {
"start": "node server/server.js"
"start": "node server/server.js",
"postinstall": "cd react-docgen && npm install"
},
"dependencies": {
"react": "~0.12.0",