2.1.1 • Published 5 years ago

react-scripts-for-react-native-web v2.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

react-scripts-for-react-native-web

This package is a forked version the package provided by Create React App.

To create an app named my-app with npm (5.2+) run:

npx create-react-app --scripts-version=react-scripts-for-react-native-web my-app

or with yarn (0.25+):

yarn create react-app  --scripts-version=react-scripts-for-react-native-web my-app

This fork of react-scripts configures webpack to compile any node_modules matching the pattern react-native-* because react native packages are typically not distributed in compiled form. You will still need to install react-native-web and any dependencies. For example, to setup a project for react-native-paper:

cd my-app
npm install --save react-native-web react-art react-native-paper

Please refer to its User Guide for more information about create-react-app.