0.1.1 • Published 7 years ago
@xq-stencil/node-mocha-chai-react-component v0.1.1
node-mocha-chai-react-component
This is a stencil for react component base on node and mocha chai.
Current Status:
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 Mocha & Chai to test your code.
- Support Yarn audit to do security check for dependencies.
Development:
Setup
Clone this stencil and replace @xq-stencil/node-mocha-chai-react-component with your package name.
$> git clone git@github.com:xqstencils/node-mocha-chai-react-component.gitInstall dependencies
$> yarn installCompile code
$> yarn babel
# or run babel in watch mode
$> yarn babel:watchGenerate distribution code
$> yarn buildLinting
$> yarn lintTesting
$> yarn test
# or run the test in watch mode
$> yarn test:watchSecurity check
$> yarn auditSetup CI
- Update the circleci config
- Setup the ci into circleci site.
Start in local
$> yarn startLicense
node-mocha-chai-react-component is released under the MIT license.
