hapi-format-error
Version:
Structure Boom errors into a more desirable format
59 lines (58 loc) • 1.83 kB
JSON
{
"name": "hapi-format-error",
"version": "7.0.1",
"description": "Structure Boom errors into a more desirable format",
"main": "lib/index.js",
"scripts": {
"enforce": "nyc check-coverage --statement 100 --branch 100 --function 100 --lines 100",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags",
"test": "nyc _mocha -- test --recursive",
"test:raw": "mocha test --recursive"
},
"devDependencies": {
"@hapi/hapi": "^20.2.1",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"eslint-config-lob": "^5.2.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"generate-changelog": "^1.0.1",
"joi": "^17.13.3",
"mocha": "^10.7.3",
"nyc": "^15.1.0",
"sinon": "^11.1.2"
},
"peerDependencies": {
"@hapi/hapi": ">= 20.0.0",
"joi": ">= 17.13.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lob/hapi-format-error.git"
},
"keywords": [
"hapi",
"boom",
"error",
"format"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/lob/hapi-format-error/issues"
},
"homepage": "https://github.com/lob/hapi-format-error#readme",
"dependencies": {
"@hapi/hoek": "^9.2.0"
},
"engines": {
"node": ">=12.0.0"
},
"mocha": {
"require": "test/setup.js",
"timeout": 30000
}
}