diff --git a/README.md b/README.md index aa94c8a554..f644e70585 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,12 @@ to compile the test apps yourself. # Quick Start -Install `react-native-test-app` and `plop`. We will use +Install `react-native-test-app` as a dev dependency. We will use [Plop](https://plopjs.com/) to generate the test app: ```bash yarn add plop react-native-test-app --dev -yarn plop --plopfile node_modules/react-native-test-app/plopfile.js --dest sample +npx plop --plopfile node_modules/react-native-test-app/plopfile.js --dest sample ``` `--dest` tells Plop where to generate the files. In this example, it will diff --git a/scripts/install-test-template.sh b/scripts/install-test-template.sh index 1200e376be..b8db15fba3 100755 --- a/scripts/install-test-template.sh +++ b/scripts/install-test-template.sh @@ -8,7 +8,7 @@ version=$(node -e 'console.log(require("./package.json").version)') npm pack yarn -yarn plop --dest template-example TemplateExample $platform +npx plop --dest template-example TemplateExample $platform pushd template-example 1> /dev/null yarn add ../react-native-test-app-$version.tgz --dev