UNPKG

@foundry-ai/api-errors

Version:

Common errors that can be thrown and caught reliably across services

69 lines (68 loc) 1.61 kB
{ "name": "@foundry-ai/api-errors", "version": "0.2.1", "description": "Common errors that can be thrown and caught reliably across services", "main": "./dist/index.js", "types": "./dist/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/FoundryAI/api-errors.git" }, "homepage": "https://github.com/FoundryAI/api-errors#readme", "keywords": [ "foundry", "foundryai", "foundry-api", "foundryai-api", "error", "errors" ], "author": "FoundryAI Engineering", "license": "MIT", "bugs": { "url": "https://github.com/FoundryAI/api-errors/issues" }, "scripts": { "build": "tsc -p ./", "prepublishOnly": "tsc -p ./", "reportCoverage": "nyc report --reporter=text-lcov | coveralls", "run": "ts-node ./src/index.ts", "test": "nyc mocha", "watch": "mocha-typescript-watch" }, "devDependencies": { "@types/chai": "^4.0.1", "@types/mocha": "^2.2.41", "@types/node": "^8.0.19", "chai": "^4.1.0", "coveralls": "^2.13.1", "mocha": "^3.5.0", "mocha-typescript": "^1.1.7", "nyc": "^11.1.0", "source-map-support": "^0.4.15", "supertest": "^3.0.0", "ts-node": "^3.3.0", "tslint": "^5.5.0", "tslint-config-airbnb": "^5.2.1", "typescript": "^2.4.2", "typings": "^2.1.1" }, "dependencies": {}, "nyc": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "require": [ "ts-node/register" ], "reporter": [ "lcov", "text-summary" ], "sourceMap": true, "instrument": true } }