UNPKG

1.55 kBJSONView Raw
1{
2 "name": "@bbc/http-transport",
3 "version": "4.1.1",
4 "description": "A flexible, modular REST client built for ease-of-use and resilience.",
5 "main": "index.js",
6 "types": "index.d.ts",
7 "scripts": {
8 "test": "mocha",
9 "jsdoc": "jsdoc -c ./docconfig/jsdoc.json",
10 "lint": "eslint ./lib ./test",
11 "coverage": "nyc mocha && nyc report --reporter=html && nyc report --reporter=json-summary",
12 "posttest": "npm run lint"
13 },
14 "repository": {
15 "type": "git",
16 "url": "https://github.com/bbc/http-transport.git"
17 },
18 "license": "Apache-2.0",
19 "bugs": {
20 "url": "https://github.com/bbc/http-transport/issues"
21 },
22 "engines": {
23 "node": ">=18.0.0"
24 },
25 "keywords": [
26 "https",
27 "rest client",
28 "http-transport",
29 "cache",
30 "circuit",
31 "breaker",
32 "rest",
33 "http",
34 "json",
35 "client"
36 ],
37 "devDependencies": {
38 "chai": "^3.5.0",
39 "codeclimate-test-reporter": "^0.5.1",
40 "coveralls": "^3.0.2",
41 "eslint": "^8.48.0",
42 "eslint-config-iplayer": "^8.0.0",
43 "eslint-plugin-mocha": "^10.1.0",
44 "jsdoc": "^3.5.5",
45 "mocha": "^7.2.0",
46 "nock": "^11.9.1",
47 "nyc": "^15.1.0",
48 "sinon": "^1.15.3"
49 },
50 "dependencies": {
51 "koa-compose": "^4.0.0",
52 "lodash": "^4.17.4",
53 "node-fetch": "^2.7.0",
54 "qs": "^6.5.1"
55 },
56 "mocha": {
57 "recursive": true,
58 "exit": true
59 },
60 "eslintConfig": {
61 "extends": "iplayer",
62 "parserOptions": {
63 "ecmaVersion": "latest"
64 },
65 "rules": {
66 "space-before-function-paren": 0
67 }
68 }
69}