/create-react-app-bash-script

Bash script which when run, creates a react app configured with Nightwatch and Enzyme

Primary LanguageShell

create-react-app-bash-script

A simple helper script to create a React boilerplate app, using Enzyme and Nightwatch for testing.

Requirements

The script interally calls the Create React App script which requires npx and npm. More information can be found in the installation section of the Github React repository here.

How to use

Simply call the script from the command line as follows:

create-react-app.sh

You will be prompted for a project name - the project name must match npm naming restrictions, for example the name must not have any uppercase letters.

You can then use yarn or npm to begin using your React app - enjoy!