A simple project structure for React with Babel and Jest, using Yarn.
Clone this repo:
git clone git@github.com:AshleyByeUK/react-babel-jest.git project-name
Install Yarn dependencies:
cd project-name
yarn install
Check that everything works, see below. Once happy, re-initialise Git for your project:
rm -rf .git
git init
Run the test to make sure everything installed and is hooked up correctly:
yarn test