From ae5b992bc706161ad83c004a58228ad47264b030 Mon Sep 17 00:00:00 2001
From: Website Deployment Script
Date: Sat, 27 Aug 2016 20:50:27 +0000
Subject: [PATCH] Updated docs for next
---
releases/next/docs/integration-with-existing-apps.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/releases/next/docs/integration-with-existing-apps.html b/releases/next/docs/integration-with-existing-apps.html
index 6328c5ba55a..97c99e16adb 100644
--- a/releases/next/docs/integration-with-existing-apps.html
+++ b/releases/next/docs/integration-with-existing-apps.html
@@ -245,7 +245,7 @@ $ react-native runGitHub.
Add JS to your app #
In your app's root folder, run:
$ npm init
-$ npm install --save react-native
+$ npm install --save react react-native
$ curl -o .flowconfig https://raw.githubusercontent.com/facebook/react-native/master/.flowconfig
This creates a node module for your app and adds the react-native npm dependency. Now open the newly created package.json file and add this under scripts:
"start": "node node_modules/react-native/local-cli/cli.js start"
Copy & paste the following code to index.android.js in your root folder — it's a barebones React Native app:
'use strict';
import React from 'react';