77 lines
2.5 KiB
JSON
Executable file
77 lines
2.5 KiB
JSON
Executable file
{
|
|
"name": "@elastic/transport",
|
|
"version": "8.7.0",
|
|
"description": "Transport classes and utilities shared among Node.js Elastic client libraries",
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"scripts": {
|
|
"test": "npm run build && npm run lint && tap test/{unit,acceptance}/{*,**/*}.test.ts",
|
|
"test:unit": "npm run build && tap test/unit/{*,**/*}.test.ts --disable-coverage",
|
|
"test:acceptance": "npm run build && tap test/acceptance/*.test.ts --disable-coverage",
|
|
"test:coverage-100": "npm run build && tap test/{unit,acceptance}/{*,**/*}.test.ts --show-full-coverage",
|
|
"test:coverage-report": "npm test && tap report --coverage-report=lcov",
|
|
"test:coverage-ui": "npm run build && tap test/{unit,acceptance}/{*,**/*}.test.ts --coverage-report=html",
|
|
"lint": "ts-standard src",
|
|
"lint:fix": "ts-standard --fix src",
|
|
"license-checker": "license-checker --production --onlyAllow='MIT;Apache-2.0;Apache1.1;ISC;BSD-3-Clause;BSD-2-Clause;0BSD'",
|
|
"prebuild": "npm run clean-build && npm run lint",
|
|
"build": "tsc",
|
|
"clean-build": "rimraf ./lib && mkdir lib",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/elastic/elastic-transport-js.git"
|
|
},
|
|
"keywords": [],
|
|
"author": {
|
|
"name": "Elastic Client Library Maintainers",
|
|
"company": "Elastic BV"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/elastic/elastic-transport-js/issues"
|
|
},
|
|
"homepage": "https://github.com/elastic/elastic-transport-js#readme",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"devDependencies": {
|
|
"@opentelemetry/sdk-trace-base": "^1.25.0",
|
|
"@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1",
|
|
"@tapjs/clock": "^1.1.24",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/ms": "^0.7.31",
|
|
"@types/node": "^18.19.21",
|
|
"@types/sinonjs__fake-timers": "^8.1.2",
|
|
"@types/stoppable": "^1.1.1",
|
|
"@types/tap": "^15.0.7",
|
|
"into-stream": "^6.0.0",
|
|
"license-checker": "^25.0.1",
|
|
"node-abort-controller": "^3.0.1",
|
|
"proxy": "^1.0.2",
|
|
"rimraf": "^3.0.2",
|
|
"stoppable": "^1.1.0",
|
|
"tap": "^19.0.0",
|
|
"ts-node": "^10.7.0",
|
|
"ts-standard": "^11.0.0",
|
|
"typescript": "^4.6.4",
|
|
"workq": "^3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@opentelemetry/api": "1.x",
|
|
"debug": "^4.3.4",
|
|
"hpagent": "^1.0.0",
|
|
"ms": "^2.1.3",
|
|
"secure-json-parse": "^2.4.0",
|
|
"tslib": "^2.4.0",
|
|
"undici": "^6.12.0"
|
|
},
|
|
"tap": {
|
|
"allow-incomplete-coverage": true,
|
|
"plugin": [
|
|
"@tapjs/clock",
|
|
"@tapjs/before"
|
|
]
|
|
}
|
|
}
|