UNPKG

hapi-error

Version:

catch errors in your hapi application and display the appropriate error message/page

84 lines (83 loc) 1.94 kB
{ "name": "hapi-error", "version": "3.0.0", "description": "catch errors in your hapi application and display the appropriate error message/page", "main": "lib/index.js", "scripts": { "test": "nyc tape ./test/*.test.js | tap-nyc", "nocov": "tape ./test/*.test.js", "dev": "PORT=8000 ./node_modules/.bin/nodemon example/server_example.js", "start": "node example/server_example.js", "check-coverage": "npm run test && nyc check-coverage --statements 100 --functions 100 --lines 100 --branches 100", "lint": "node_modules/.bin/goodparts ./lib" }, "engines": { "node": ">=14.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/dwyl/hapi-error.git" }, "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/dwyl/hapi-error/issues" }, "homepage": "https://github.com/dwyl/hapi-error#readme", "dependencies": { "@hapi/hoek": "^10.0.0" }, "devDependencies": { "@hapi/boom": "^10.0.0", "@hapi/good": "^9.0.1", "@hapi/hapi": "^20.2.2", "@hapi/validate": "^2.0.0", "@hapi/vision": "^6.1.0", "@types/hapi": "^18.0.7", "decache": "^4.6.1", "handlebars": "^4.7.7", "hapi-auth-jwt2": "^10.2.0", "jsonwebtoken": "^8.5.1", "nodemon": "^2.0.18", "nyc": "15.1.0", "pre-commit": "^1.2.2", "tap-nyc": "1.0.3", "tape": "5.5.3", "tape-async": "2.3.0" }, "pre-commit": [ "check-coverage" ], "keywords": [ "custom", "customise", "error", "friendly", "hapi", "hapijs", "hapi.js", "helpful", "html", "human", "json", "message", "page", "useful", "user friendly", "UX" ], "author": "dwyl & co", "nyc": { "exclude": [ "example/*.js", "coverage/*", "test/*.js" ], "report-dir": "./coverage", "reporter": [ "lcov", "text" ], "cache": false, "all": true } }