Skip to content

xqstencils/node-jest-react-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Jest React Component stencil

This is a stencil for react component base on node and jest.

Current Status:

NPM Version NPM Downloads Build Status

NPM

Features:

  • Support Publish your package to git & npm with ci.
  • Support CircleCi for pipeline.
  • Support ES7 & ES6 syntax.
  • Support ESlint to check the code.
  • Support Jest to test your code.
  • Support Yarn audit to do security check for dependencies.

Development:

Setup

Clone this stencil and replace @xq-stencil/node-jest-react-component with your package name.

$> git clone [email protected]:xqstencils/node-jest-react-component.git

Install dependencies

$> yarn install

Compile code

$> yarn babel
# or run babel in watch mode
$> yarn babel:watch

Generate distribution code

$> yarn build

Linting

$> yarn lint

Testing

$> yarn test
# or run the test in watch mode
$> yarn test:watch

Security check

$> yarn audit

Setup CI

  • Update the circleci config
  • Setup the ci into circleci site.

Start in local

$> yarn start

License

node-jest-react-component is released under the MIT license.

About

node-jest-react-component

Resources

License

Stars

Watchers

Forks

Packages

No packages published