From 24e15738d0c396ef3489b036a9b858fb15ecd720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Lucas?= <josemanuel@jmlweb.es> Date: Mon, 30 Apr 2018 10:55:41 +0200 Subject: [PATCH] Update README.md --- packages/react-scripts/template/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 479d632a5..469a385e4 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -93,6 +93,7 @@ You can find the most recent version of this guide [here](https://github.com/fac - [S3 and CloudFront](#s3-and-cloudfront) - [Surge](#surge) - [Advanced Configuration](#advanced-configuration) +- [Using npm instead of yarn](#using-npm) - [Troubleshooting](#troubleshooting) - [`npm start` doesn’t detect changes](#npm-start-doesnt-detect-changes) - [`npm test` hangs on macOS Sierra](#npm-test-hangs-on-macos-sierra) @@ -2340,6 +2341,10 @@ CHOKIDAR_USEPOLLING | :white_check_mark: | :x: | When set to `true`, the watcher GENERATE_SOURCEMAP | :x: | :white_check_mark: | When set to `false`, source maps are not generated for a production build. This solves OOM issues on some smaller machines. NODE_PATH | :white_check_mark: | :white_check_mark: | Same as [`NODE_PATH` in Node.js](https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders), but only relative folders are allowed. Can be handy for emulating a monorepo setup by setting `NODE_PATH=src`. +## Using npm instead of yarn + +If you want create-react-app to use npm internally, just provide the flag `--use-npm` when creating your app. + ## Troubleshooting ### `npm start` doesn’t detect changes -- GitLab