1.2.4 • Published 5 years ago

@xq-stencil/node-mocha-chai-lib v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Node Mocha Chai lib stencil

This is a stencil for common package base on node and mocha.

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 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-lib with your package name.

$ git clone git@github.com:xqstencils/node-mocha-chai-lib.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.

Publish your package

$ yarn release

License

node-mocha-chai-lib is released under the MIT license.

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.1.1

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago