A decentralized application running on the Lightstreams Network
You can create a new account (i.e. wallet) and login with that account.
This app features the latest tools and best practices for development.
- β React β 16.7.0-alpha.0 with Hooks
- β» Redux β State Management
- π Babel β ES6 syntax, Airbnb & React/Recommended config
- π Webpack β Hot Reloading, Code Splitting, Optimized Build
- π CSS β Styled Components
- β Tests β Jest, React Testing Library & Cypress
- π Lint β ESlint
- πΆ Husky β Prevent bad commits
- Clone this repo using
https://github.com/lightstreams-network/example-browser.git
- Move to the appropriate directory:
cd example-browser
. - Run
yarn
ornpm install
to install dependencies. - Run
npm start
to see the example app athttp://localhost:8080
.
npm start
- start the dev servernpm run build
- create a production ready build inbuild
foldernpm run lint
- execute an eslint checknpm run lint:fix
- execute an eslint and fix the errorsnpm test
- run all testsnpm run test:watch
- run all tests in watch modenpm run test:cover
- coverage modenpm run cypress:open
- starts cypress