A hyper opinionated template for making Versal gadgets with ReactJs.
Clone the repo and reinitialize the git history
git clone https://github.com/possibilities/react-gadget-template.git hello-react
cd hello-react
rm -r .git
git init
Optionally create a new repo on github and push to it
git remote add origin [email protected]:username/repo.git
git push origin master -u
npm install --global gulp
npm install --global jshint
npm install --global nightwatch
This will build the dependencies and run the unit tests also
npm install
gulp
gulp test
Start the versal preview command and run selenium test suite against it
gulp demo
Any arguments are passed to nightwatch. For example if you want to run a single group of tests
gulp demo --group sanity