achselschweisz / module-template

A template for node/io.js modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

module-template

A template for node/io.js modules

Stability: 1 - Experimental

basics

  • .eslintrc & .eslintignore - style rules closely follow google's javascript style guide
  • .gitignore & .npmignore
  • MIT LICENSE
  • a index.js pointing to lib/
  • plus a .travis.yml

package.json scripts

  • npm test - eslint + istanbul + mocha
  • npm install - will add a pre-commit hook which runs npm test (existing hooks will be overwritten)
  • npm run lint - eslint
  • npm run update - next-update
  • npm run log - generate a markdown formatted changelog
  • npm run clean - rm coverage/, node_modules, npm-debug.log

Download

Tests

npm test
firefox coverage/lcov-report/index.html

Coverage

Statements   : XX.XX% ( YY/ZZ )
Branches     : XX.XX% ( YY/ZZ )
Functions    : XX.XX% ( YY/ZZ )
Lines        : XX.XX% ( YY/ZZ )

About

A template for node/io.js modules

License:MIT License


Languages

Language:JavaScript 100.0%