2016-06-22 01:39:04 +02:00
|
|
|
{
|
2024-12-07 16:16:31 +00:00
|
|
|
"name": "db-vendo-client",
|
|
|
|
"description": "Client for bahn.de public transport APIs.",
|
2024-12-07 23:59:04 +00:00
|
|
|
"version": "6.0.0",
|
2022-05-07 16:17:37 +02:00
|
|
|
"type": "module",
|
2017-10-03 17:36:42 +02:00
|
|
|
"main": "index.js",
|
|
|
|
"files": [
|
|
|
|
"index.js",
|
2018-01-24 16:03:33 +01:00
|
|
|
"throttle.js",
|
2019-02-08 13:13:53 +01:00
|
|
|
"retry.js",
|
2024-12-07 16:16:31 +00:00
|
|
|
"api.js",
|
2017-11-11 22:49:04 +01:00
|
|
|
"lib",
|
2017-11-11 22:35:41 +01:00
|
|
|
"parse",
|
2017-11-12 23:51:39 +01:00
|
|
|
"format",
|
2017-12-17 18:16:04 +01:00
|
|
|
"p",
|
|
|
|
"docs"
|
2017-10-03 17:36:42 +02:00
|
|
|
],
|
2024-12-07 16:16:31 +00:00
|
|
|
"author": "Traines <git@traines.eu>",
|
2018-01-07 19:08:06 +01:00
|
|
|
"contributors": [
|
2024-12-07 16:16:31 +00:00
|
|
|
"Jannis R <mail@jannisr.de>",
|
2020-02-07 16:11:47 +01:00
|
|
|
"Julius Tens <mail@juliustens.eu>",
|
2020-09-09 15:25:54 +02:00
|
|
|
"n0emis <n0emis@noemis.me>",
|
2020-09-15 11:38:25 +02:00
|
|
|
"em0lar <hello@em0lar.de>",
|
2021-08-17 14:52:29 +02:00
|
|
|
"Adrian Böhme <hannsadrian@gmail.com> (https://github.com/Adwirawien)",
|
2021-10-26 14:17:34 +02:00
|
|
|
"Yureka <github@yuka.dev>",
|
2021-11-18 18:29:25 +01:00
|
|
|
"Kristjan Esperanto (https://github.com/KristjanESPERANTO)",
|
2022-02-22 17:47:33 +01:00
|
|
|
"Marcel Radzio <mtrnord@nordgedanken.dev>",
|
2022-04-26 22:02:57 +02:00
|
|
|
"Benoit Deldicque (https://github.com/bddq)",
|
2024-03-20 16:59:45 +01:00
|
|
|
"roehrt",
|
|
|
|
"Sören Wegener (https://soerface.de/)",
|
2024-07-16 11:51:15 +02:00
|
|
|
"Paul Sutter <paul.sutter@moia.io>",
|
|
|
|
"1Maxnet1"
|
2018-01-07 19:08:06 +01:00
|
|
|
],
|
2024-12-07 16:16:31 +00:00
|
|
|
"homepage": "https://github.com/public-transport/db-vendo-client",
|
|
|
|
"repository": "public-transport/db-vendo-client",
|
|
|
|
"bugs": "https://github.com/public-transport/db-vendo-client/issues",
|
2020-11-15 13:43:26 +01:00
|
|
|
"funding": {
|
|
|
|
"url": "https://github.com/sponsors/derhuerst"
|
|
|
|
},
|
2017-10-03 17:36:42 +02:00
|
|
|
"license": "ISC",
|
|
|
|
"keywords": [
|
2024-12-07 16:16:31 +00:00
|
|
|
"bahn.de",
|
2017-10-03 17:36:42 +02:00
|
|
|
"hafas",
|
|
|
|
"public",
|
|
|
|
"transport",
|
2017-11-11 21:06:54 +01:00
|
|
|
"transit",
|
2017-10-03 17:36:42 +02:00
|
|
|
"api",
|
2017-11-11 21:06:54 +01:00
|
|
|
"http"
|
2017-10-03 17:36:42 +02:00
|
|
|
],
|
2023-04-04 11:37:03 +02:00
|
|
|
"packageManager": "npm@9.2.0",
|
2017-10-03 17:36:42 +02:00
|
|
|
"engines": {
|
2021-12-29 16:56:19 +01:00
|
|
|
"node": ">=16"
|
2017-10-03 17:36:42 +02:00
|
|
|
},
|
2016-06-22 01:39:59 +02:00
|
|
|
"dependencies": {
|
2019-03-27 18:31:56 +01:00
|
|
|
"@derhuerst/br2nl": "^1.0.0",
|
2021-02-07 22:17:02 +01:00
|
|
|
"@derhuerst/round-robin-scheduler": "^1.0.4",
|
2021-04-18 18:42:03 +02:00
|
|
|
"content-type": "^1.0.4",
|
2018-05-21 12:15:40 +02:00
|
|
|
"create-hash": "^1.2.0",
|
2023-09-22 08:53:19 +02:00
|
|
|
"cross-fetch": "^4.0.0",
|
2020-01-31 18:07:16 +01:00
|
|
|
"google-polyline": "^1.0.3",
|
2018-05-16 21:07:05 +02:00
|
|
|
"gps-distance": "0.0.4",
|
2023-07-07 19:33:06 +02:00
|
|
|
"https-proxy-agent": "^7.0.0",
|
2018-02-15 17:45:20 +01:00
|
|
|
"lodash": "^4.17.5",
|
2022-12-11 22:40:24 +01:00
|
|
|
"luxon": "^3.1.1",
|
2024-07-15 19:23:25 +02:00
|
|
|
"object-scan": "^19.0.5",
|
2023-09-22 08:53:19 +02:00
|
|
|
"p-retry": "^6.0.0",
|
2022-05-09 14:44:46 +02:00
|
|
|
"p-throttle": "^5.0.0",
|
2019-02-05 19:07:19 +01:00
|
|
|
"qs": "^6.6.0",
|
2021-12-29 18:29:10 +01:00
|
|
|
"slugg": "^1.2.0"
|
2016-06-28 12:58:31 +02:00
|
|
|
},
|
2017-11-12 21:03:24 +01:00
|
|
|
"devDependencies": {
|
2022-06-18 16:50:33 +02:00
|
|
|
"@pollyjs/adapter-node-http": "^6.0.5",
|
|
|
|
"@pollyjs/core": "^6.0.5",
|
|
|
|
"@pollyjs/persister-fs": "^6.0.5",
|
2024-02-06 22:57:16 +01:00
|
|
|
"@stylistic/eslint-plugin": "^1.5.1",
|
|
|
|
"eslint": "^8.56.0",
|
2024-12-07 16:16:31 +00:00
|
|
|
"hafas-rest-api": "^5.1.3",
|
2017-12-11 19:25:29 +01:00
|
|
|
"is-coordinates": "^2.0.2",
|
2017-11-12 21:03:24 +01:00
|
|
|
"is-roughly-equal": "^0.1.0",
|
2024-07-15 19:23:25 +02:00
|
|
|
"tap": "^19.2.5",
|
2021-05-20 16:40:36 +01:00
|
|
|
"validate-fptf": "^3.0.0"
|
2016-06-28 12:58:31 +02:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-02-27 11:30:26 +01:00
|
|
|
"lint": "eslint .",
|
2024-02-06 22:57:16 +01:00
|
|
|
"lint:fix": "eslint . --fix",
|
2022-05-03 23:21:44 +02:00
|
|
|
"test-unit": "tap test/lib/*.js test/*.js test/format/*.js test/parse/*.js",
|
2021-05-20 16:42:43 +01:00
|
|
|
"test-integration": "VCR_MODE=playback tap test/e2e/*.js",
|
2022-11-19 02:32:54 +01:00
|
|
|
"test-integration:record": "VCR_MODE=record tap -t60 -j1 test/e2e/*.js",
|
2021-10-19 00:35:07 +02:00
|
|
|
"test-e2e": "VCR_OFF=true tap -t60 -j16 test/e2e/*.js",
|
2020-05-21 19:04:47 +02:00
|
|
|
"test": "npm run test-unit && npm run test-integration",
|
2024-12-07 16:16:31 +00:00
|
|
|
"prepublishOnly": "npm run lint && npm test",
|
|
|
|
"api": "node api.js"
|
2021-05-20 16:42:43 +01:00
|
|
|
},
|
|
|
|
"tap": {
|
2023-09-25 14:04:06 +03:00
|
|
|
"disable-coverage": true,
|
|
|
|
"allow-empty-coverage": true,
|
|
|
|
"plugin": [
|
|
|
|
"!@tapjs/typescript",
|
|
|
|
"!@tapjs/mock",
|
|
|
|
"!@tapjs/snapshot",
|
|
|
|
"!@tapjs/intercept",
|
|
|
|
"!@tapjs/fixture"
|
|
|
|
]
|
2016-06-22 01:39:59 +02:00
|
|
|
}
|
2016-06-22 01:39:04 +02:00
|
|
|
}
|