Nodejs module stub with ES2015 syntax, tests
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.githooks/pre-commit
config
examples
src
tests
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.local-web-server.json
.npmignore
.travis.yml
LICENSE
README.md
karma.conf.js
package.json

README.md

Build Status

npm-module-stub

git hooks

All hooks are in .githooks directory.

  • precommit: run test

Add hook:

  1. add folder named as hook (/pre-commit for example)
  2. add bash script in this folder

Tests

Placed in tests folder. They splited to cathegories:

  1. /common: runs both in client-side (browsers) and server-side
  2. /browser
  3. /server

All folders contain html-file — this file could be injected to test running web-page.