generator-react-native-testable

0.0.6 • Public • Published

Testable React Native Project Generator NPM version Build Status Dependency Status Coverage percentage

Painless react-native project setup, with redux and unit tests already set up and ready to run.

Adds support for:

  • Redux and Redux-Thunk application state management.
  • Enzyme and and jsdom for deep rendering of Components directly in tests.
  • Example tests of the above.

Installation

First, install Yeoman and generator-react-native-testable using npm (we assume you have pre-installed node.js).

npm install -g yo generator-react-native-testable

Then generate your new project:

yo react-native-testable --force
cd YourProjectName
npm install

That's all! After you cd into the project directory you can npm test to run unit tests, or react-native run-android or react-native run-ios to run the project.

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

Apache-2.0 © Connected Lab

Readme

Keywords

Package Sidebar

Install

npm i generator-react-native-testable

Weekly Downloads

1

Version

0.0.6

License

Apache-2.0

Last publish

Collaborators

  • connected-lab