http-problem-details
Version:
HTTP Problem Details according to RFC 7807
72 lines (71 loc) • 2.04 kB
JSON
{
"name": "http-problem-details",
"version": "0.1.7",
"description": "HTTP Problem Details according to RFC 7807",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"test": "test"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts"
],
"scripts": {
"build": "rm -rf ./dist && ./node_modules/.bin/tsc --project tsconfig-build.json",
"lint-ts": "./node_modules/.bin/eslint --ext .ts .",
"test": "./node_modules/mocha/bin/mocha -r ts-node/register test/*.ts",
"test-ci": "./node_modules/mocha/bin/mocha -r ts-node/register test/*.ts --reporter mocha-junit-reporter",
"release": "yarn build && yarn test && standard-version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PDMLab/http-problem-details.git"
},
"keywords": [
"http",
"problem",
"error",
"rfc7807",
"api",
"rest"
],
"author": "Alexander Zeitler <alexander.zeitler@pdmlab.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/PDMLab/http-problem-details/issues"
},
"homepage": "https://github.com/PDMLab/http-problem-details#readme",
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/mocha": "^8.0.3",
"@types/node": "^10",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"eslint": "^7.12.1",
"eslint-config-standard-with-typescript": "^19.0.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.2",
"husky": "^4.3.0",
"mocha": "8.2.0",
"mocha-junit-reporter": "^2.0.0",
"should": "^13.2.3",
"standard-version": "^9.0.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}