UNPKG

1.58 kBJSONView Raw
1{
2 "name": "@bbc/http-transport",
3 "version": "4.2.0",
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 "https-proxy-agent": "^7.0.2",
52 "koa-compose": "^4.0.0",
53 "lodash": "^4.17.4",
54 "node-fetch": "^2.7.0",
55 "qs": "^6.5.1"
56 },
57 "mocha": {
58 "recursive": true,
59 "exit": true
60 },
61 "eslintConfig": {
62 "extends": "iplayer",
63 "parserOptions": {
64 "ecmaVersion": "latest"
65 },
66 "rules": {
67 "space-before-function-paren": 0
68 }
69 }
70}