# react-scripts-for-react-native-web

> Configuration and scripts for Create React App modified to compile react-native-* packages in node_modules.

Latest version **2.1.1** (published 2018-11-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-scripts-for-react-native-web
pnpm add react-scripts-for-react-native-web
yarn add react-scripts-for-react-native-web
bun add react-scripts-for-react-native-web
```

Provides the command `react-scripts`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2018-11-29 |
| First published | 2018-11-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 48 |
| Unpacked size | 137.9 KB |
| Known vulnerabilities | 0 (+11 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Maintainers | amsb |

## Links

- npm: https://www.npmjs.com/package/react-scripts-for-react-native-web
- Repository: https://github.com/amsb/create-react-app-for-react-native-web
- Homepage: https://github.com/amsb/create-react-app-for-react-native-web#readme
- Issues: https://github.com/amsb/create-react-app-for-react-native-web/issues
- npm.io page: https://npm.io/package/react-scripts-for-react-native-web

## Dependencies (48)

- [bfj](https://npm.io/package/bfj.md) 6.1.1
- [jest](https://npm.io/package/jest.md) 23.6.0
- [chalk](https://npm.io/package/chalk.md) 2.4.1
- [dotenv](https://npm.io/package/dotenv.md) 6.0.0
- [eslint](https://npm.io/package/eslint.md) 5.6.0
- [resolve](https://npm.io/package/resolve.md) 1.8.1
- [webpack](https://npm.io/package/webpack.md) 4.19.1
- [fs-extra](https://npm.io/package/fs-extra.md) 7.0.0
- [fsevents](https://npm.io/package/fsevents.md) 1.2.4
- [babel-core](https://npm.io/package/babel-core.md) 7.0.0-bridge.0
- [babel-jest](https://npm.io/package/babel-jest.md) 23.6.0
- [css-loader](https://npm.io/package/css-loader.md) 1.0.0
- [url-loader](https://npm.io/package/url-loader.md) 1.1.1
- [@babel/core](https://npm.io/package/@babel/core.md) 7.1.0
- [file-loader](https://npm.io/package/file-loader.md) 2.0.0
- [sass-loader](https://npm.io/package/sass-loader.md) 7.1.0
- [babel-eslint](https://npm.io/package/babel-eslint.md) 9.0.0
- [babel-loader](https://npm.io/package/babel-loader.md) 8.0.4
- [jest-resolve](https://npm.io/package/jest-resolve.md) 23.6.0
- [style-loader](https://npm.io/package/style-loader.md) 0.23.0
- [@svgr/webpack](https://npm.io/package/@svgr/webpack.md) 2.4.1
- [dotenv-expand](https://npm.io/package/dotenv-expand.md) 4.2.0
- [eslint-loader](https://npm.io/package/eslint-loader.md) 2.1.1
- [postcss-loader](https://npm.io/package/postcss-loader.md) 3.0.0
- [react-dev-utils](https://npm.io/package/react-dev-utils.md) ^6.1.1
- [jest-pnp-resolver](https://npm.io/package/jest-pnp-resolver.md) 1.0.1
- [identity-obj-proxy](https://npm.io/package/identity-obj-proxy.md) 3.0.0
- [pnp-webpack-plugin](https://npm.io/package/pnp-webpack-plugin.md) 1.1.0
- [postcss-preset-env](https://npm.io/package/postcss-preset-env.md) 6.3.1
- [react-app-polyfill](https://npm.io/package/react-app-polyfill.md) ^0.1.3
- [webpack-dev-server](https://npm.io/package/webpack-dev-server.md) 3.1.9
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) 7.11.1
- [html-webpack-plugin](https://npm.io/package/html-webpack-plugin.md) 4.0.0-alpha.2
- [postcss-safe-parser](https://npm.io/package/postcss-safe-parser.md) 4.0.1
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) 2.14.0
- [terser-webpack-plugin](https://npm.io/package/terser-webpack-plugin.md) 1.1.0
- [babel-preset-react-app](https://npm.io/package/babel-preset-react-app.md) ^6.1.0
- [eslint-plugin-flowtype](https://npm.io/package/eslint-plugin-flowtype.md) 2.50.1
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) 6.1.2
- [postcss-flexbugs-fixes](https://npm.io/package/postcss-flexbugs-fixes.md) 4.1.0
- [workbox-webpack-plugin](https://npm.io/package/workbox-webpack-plugin.md) 3.6.3
- [eslint-config-react-app](https://npm.io/package/eslint-config-react-app.md) ^3.0.5
- [mini-css-extract-plugin](https://npm.io/package/mini-css-extract-plugin.md) 0.4.3
- [webpack-manifest-plugin](https://npm.io/package/webpack-manifest-plugin.md) 2.0.4
- [babel-plugin-named-asset-import](https://npm.io/package/babel-plugin-named-asset-import.md) ^0.2.3
- [fork-ts-checker-webpack-plugin-alt](https://npm.io/package/fork-ts-checker-webpack-plugin-alt.md) 0.4.14
- [optimize-css-assets-webpack-plugin](https://npm.io/package/optimize-css-assets-webpack-plugin.md) 5.0.1
- [case-sensitive-paths-webpack-plugin](https://npm.io/package/case-sensitive-paths-webpack-plugin.md) 2.1.2

## Recent versions

- 2.1.1 (latest) — 2018-11-29
- 2.1.1-alpha.0 — 2018-11-23

## README

# react-scripts-for-react-native-web

This package is a forked version the package provided by [Create React App](https://github.com/facebook/create-react-app).<br>

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](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) for more information about create-react-app.

---
_Source: https://npm.io/package/react-scripts-for-react-native-web · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
