mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-22 22:59:35 +02:00
111 lines
2.8 KiB
JSON
111 lines
2.8 KiB
JSON
{
|
|
"name": "db-vendo-client",
|
|
"description": "Client for bahn.de public transport APIs.",
|
|
"version": "6.3.4",
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"files": [
|
|
"index.js",
|
|
"throttle.js",
|
|
"retry.js",
|
|
"api.js",
|
|
"lib",
|
|
"parse",
|
|
"format",
|
|
"p",
|
|
"docs",
|
|
"!docs/dumps/*"
|
|
],
|
|
"author": "Traines <git@traines.eu>",
|
|
"contributors": [
|
|
"Jannis R <mail@jannisr.de>",
|
|
"Julius Tens <mail@juliustens.eu>",
|
|
"n0emis <n0emis@noemis.me>",
|
|
"em0lar <hello@em0lar.de>",
|
|
"Adrian Böhme <hannsadrian@gmail.com> (https://github.com/Adwirawien)",
|
|
"Yureka <github@yuka.dev>",
|
|
"Kristjan Esperanto (https://github.com/KristjanESPERANTO)",
|
|
"Marcel Radzio <mtrnord@nordgedanken.dev>",
|
|
"Benoit Deldicque (https://github.com/bddq)",
|
|
"roehrt",
|
|
"Sören Wegener (https://soerface.de/)",
|
|
"Paul Sutter <paul.sutter@moia.io>",
|
|
"1Maxnet1"
|
|
],
|
|
"homepage": "https://github.com/public-transport/db-vendo-client",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/public-transport/db-vendo-client.git"
|
|
},
|
|
"bugs": "https://github.com/public-transport/db-vendo-client/issues",
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/derhuerst"
|
|
},
|
|
"license": "ISC",
|
|
"keywords": [
|
|
"bahn.de",
|
|
"hafas",
|
|
"public",
|
|
"transport",
|
|
"transit",
|
|
"api",
|
|
"http"
|
|
],
|
|
"packageManager": "npm@9.2.0",
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"dependencies": {
|
|
"@derhuerst/round-robin-scheduler": "^1.0.4",
|
|
"content-type": "^1.0.4",
|
|
"cross-fetch": "^4.0.0",
|
|
"db-hafas-stations": "^1.0.0",
|
|
"gps-distance": "0.0.4",
|
|
"https-proxy-agent": "^7.0.0",
|
|
"lodash": "^4.17.5",
|
|
"luxon": "^3.1.1",
|
|
"qs": "^6.6.0",
|
|
"slugg": "^1.2.0",
|
|
"uuid": "^11.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@pollyjs/adapter-node-http": "^6.0.5",
|
|
"@pollyjs/core": "^6.0.5",
|
|
"@pollyjs/persister-fs": "^6.0.5",
|
|
"@stylistic/eslint-plugin": "^1.5.1",
|
|
"db-rest": "github:derhuerst/db-rest",
|
|
"eslint": "^8.56.0",
|
|
"hafas-rest-api": "^5.1.3",
|
|
"is-coordinates": "^2.0.2",
|
|
"is-roughly-equal": "^0.1.0",
|
|
"p-retry": "^6.0.0",
|
|
"p-throttle": "^5.0.0",
|
|
"tap": "^19.2.5",
|
|
"validate-fptf": "^3.0.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"test-unit": "tap test/lib/*.js test/*.js test/format/*.js test/parse/*.js",
|
|
"test-integration": "VCR_MODE=playback tap test/e2e/*.js",
|
|
"test-integration:record": "VCR_MODE=record tap -t60 -j1 test/e2e/*.js",
|
|
"test-e2e": "VCR_OFF=true tap -t60 -j16 test/e2e/*.js",
|
|
"test": "npm run test-unit && npm run test-integration",
|
|
"prepublishOnly": "npm run lint && npm test",
|
|
"api": "node api.js"
|
|
},
|
|
"tap": {
|
|
"disable-coverage": true,
|
|
"allow-empty-coverage": true,
|
|
"plugin": [
|
|
"!@tapjs/typescript",
|
|
"!@tapjs/mock",
|
|
"!@tapjs/snapshot",
|
|
"!@tapjs/intercept",
|
|
"!@tapjs/fixture"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org"
|
|
}
|
|
}
|