dwyl/hapi-auth-jwt2-example

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "hapi-auth-jwt2-example",
  "version": "7.3.0",
  "description": "A functional example Hapi.js app demonstrating hapi-auth-jwt2 authentication using Redis (hosted on Heroku) with tests!",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "dev": "PORT=8000 node index.js",
    "quick": "./node_modules/tape/bin/tape ./test/test.js | node_modules/tap-spec/bin/cmd.js",
    "test": "istanbul cover ./node_modules/tape/bin/tape ./test/test.js  | node_modules/tap-spec/bin/cmd.js",
    "coverage": "istanbul cover ./node_modules/tape/bin/tape ./test/test.js && istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
    "jshint": "./node_modules/jshint/bin/jshint -c .jshintrc --exclude-path .gitignore .",
    "report": "open coverage/lcov-report/index.html"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/dwyl/hapi-auth-jwt2-example.git"
  },
  "keywords": [
    "hapi.js",
    "authentication",
    "auth",
    "example",
    "hapi-auth-jwt2"
  ],
  "author": "nelsonic <contact.nelsonic@gmail.com> (https://github.com/nelsonic)",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/dwyl/hapi-auth-jwt2-example/issues"
  },
  "homepage": "https://github.com/dwyl/hapi-auth-jwt2-example",
  "dependencies": {
    "aguid": "^2.0.0",
    "hapi": "^16.5.0",
    "hapi-auth-jwt2": "^7.3.0",
    "jsonwebtoken": "^7.4.1",
    "redis-connection": "^5.1.1"
  },
  "devDependencies": {
    "env2": "^2.2.0",
    "istanbul": "^0.4.5",
    "jshint": "^2.9.5",
    "pre-commit": "^1.2.2",
    "tap-spec": "^4.1.1",
    "tape": "^4.7.0"
  },
  "pre-commit": [
    "jshint",
    "coverage"
  ]
}