Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 916 Bytes

File metadata and controls

33 lines (21 loc) · 916 Bytes

Simple Package Template

This repository is for create a simple packages with es6 features

Features

  • Babel for transpiling
  • Rollup for building
  • Mocha for testing
  • Eslint and Prettier for better code

Info

Use npm-install-peers for use in packages into peerDependecies

Testing

Use mocha for testing runner includes other libraries for easy testing

  • Sinon Documentation - unit test utils
  • nock Github - HTTP server mocking
  • jsdom Github - DOM emulation for node js
  • expect.js Github - assertions for node.js

For verify coverage in your

  • istanbul.js Web

Documentation

Documentate your code with jsdoc