bbc/flashheart

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "flashheart",
  "version": "3.2.1",
  "description": "A fully-featured REST client built for ease-of-use and resilience",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "scripts": {
    "prepublish": "npm run build",
    "build": "npm run clean && tsc",
    "watch": "tsc --watch",
    "clean": "rm -fr dist/*",
    "pretest": "npm run build",
    "test": "mocha",
    "posttest": "npm run lint",
    "lint": "tslint --project tsconfig.json --format stylish",
    "coverage": "nyc mocha && nyc report --reporter=html && nyc report --reporter=json-summary",
    "jsdoc": "jsdoc -c ./docconfig/jsdoc.json"
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/bbc/flashheart.git"
  },
  "keywords": [
    "rest client",
    "flashheart",
    "cache",
    "circuit",
    "breaker",
    "rate",
    "limiting",
    "rest",
    "http",
    "json",
    "client"
  ],
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/bbc/flashheart/issues"
  },
  "devDependencies": {
    "@types/chai": "^4.1.4",
    "@types/lodash": "^4.14.119",
    "@types/mocha": "^2.2.43",
    "@types/nock": "^9.3.0",
    "@types/redis": "^2.8.6",
    "@types/sinon": "^7.0.3",
    "babel-eslint": "^10.0.2",
    "chai": "^4.1.2",
    "eslint": "^6.0.1",
    "eslint-config-iplayer-base": "^1.0.0",
    "express": "^4.16.3",
    "jsdoc": "^3.6.3",
    "mocha": "^5.2.0",
    "nock": "^9.6.1",
    "nyc": "^14.1.1",
    "sinon": "^7.2.2",
    "ts-node": "^3.3.0",
    "tslint": "^5.18.0",
    "tslint-config-airbnb": "^5.3.1",
    "tslint-microsoft-contrib": "^5.0.3",
    "typescript": "^2.6.1"
  },
  "dependencies": {
    "@bbc/http-transport": "^3.5.2",
    "@bbc/http-transport-cache": "^3.5.1",
    "@bbc/http-transport-circuit-breaker": "^1.2.0",
    "@bbc/http-transport-rate-limiter": "^1.0.1",
    "@bbc/http-transport-request-collapse": "^3.1.1",
    "@bbc/http-transport-statsd": "^2.0.1",
    "@bbc/http-transport-to-error": "^2.1.1",
    "catbox": "^10.0.3",
    "catbox-memory": "^3.1.2",
    "lodash": "^4.17.10",
    "request": "^2.88.0"
  },
  "nyc": {
    "include": [
      "src/**/*.ts"
    ],
    "extension": [
      ".ts"
    ],
    "require": [
      "ts-node/register"
    ],
    "sourceMap": true,
    "instrument": true
  },
  "nodeVersion": ">= 8.0.0",
  "prune": false
}