mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
[Website] Use postinstall hook to npm install react-docgen
This commit is contained in:
parent
c08243d08a
commit
2cdce0f3df
@ -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
|
||||
|
||||
```
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user