Added mocha and NPM package definition.