Skip to content

CodeTiburon/react-gadget-template

Repository files navigation

React gadget template Build Status

Summary

A hyper opinionated template for making Versal gadgets with ReactJs.

Usage

Create a gadget from the template

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

Install prerequisites

npm install --global gulp
npm install --global jshint
npm install --global nightwatch

Install dependencies

This will build the dependencies and run the unit tests also

npm install

Build everything

gulp

Run unit tests

gulp test

Run demos

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

About

A template for building out react-based gadgets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published