2017-10-23 23:13:53 +02:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"name": "db-rest",
|
2017-11-04 21:07:20 +01:00
|
|
|
"description": "A clean REST API wrapping around the Deutsche Bahn API.",
|
2022-11-22 16:07:33 +01:00
|
|
|
"version": "5.0.2",
|
2022-12-19 13:23:13 +01:00
|
|
|
"type": "module",
|
2017-10-23 23:13:53 +02:00
|
|
|
"main": "index.js",
|
|
|
|
"author": "Jannis R <mail@jannisr.de>",
|
2022-12-19 13:18:25 +01:00
|
|
|
"homepage": "https://github.com/derhuerst/db-rest/tree/6",
|
2017-10-23 23:13:53 +02:00
|
|
|
"repository": "derhuerst/db-rest",
|
|
|
|
"bugs": "https://github.com/derhuerst/db-rest/issues",
|
|
|
|
"license": "ISC",
|
|
|
|
"keywords": [
|
|
|
|
"public",
|
|
|
|
"transport",
|
|
|
|
"api",
|
|
|
|
"http",
|
2017-11-04 21:07:20 +01:00
|
|
|
"rest",
|
|
|
|
"deutsche bahn",
|
|
|
|
"db"
|
2017-10-23 23:13:53 +02:00
|
|
|
],
|
|
|
|
"engines": {
|
2022-12-19 13:20:17 +01:00
|
|
|
"node": ">=18"
|
2017-10-23 23:13:53 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-12-21 14:30:00 +01:00
|
|
|
"cached-hafas-client": "^5.0.1",
|
2017-10-24 23:45:35 +02:00
|
|
|
"cli-native": "^1.0.0",
|
2022-12-21 14:30:00 +01:00
|
|
|
"db-hafas": "^6.0.0",
|
2022-12-21 14:47:36 +01:00
|
|
|
"db-stations": "^5.0.0",
|
|
|
|
"db-stations-autocomplete": "^4.0.0",
|
2020-05-01 18:10:21 +02:00
|
|
|
"etag": "^1.8.1",
|
2020-04-30 15:48:06 +02:00
|
|
|
"hafas-client-health-check": "^2.1.1",
|
2022-12-21 14:30:00 +01:00
|
|
|
"hafas-rest-api": "^5.1.0",
|
2022-06-06 14:24:48 +02:00
|
|
|
"ioredis": "^5.0.6",
|
2022-12-21 14:53:08 +01:00
|
|
|
"serve-buffer": "^3.0.3",
|
2020-10-02 18:33:38 +02:00
|
|
|
"serve-static": "^1.14.1"
|
2017-10-23 23:13:53 +02:00
|
|
|
},
|
2020-04-30 15:48:06 +02:00
|
|
|
"devDependencies": {
|
2020-10-02 18:33:38 +02:00
|
|
|
"@derhuerst/technical-docs-cli": "^1.1.0",
|
2022-12-21 14:53:08 +01:00
|
|
|
"axios": "~1.1",
|
2022-04-03 14:15:36 +02:00
|
|
|
"eslint": "^8.12.0",
|
2022-12-21 14:53:08 +01:00
|
|
|
"get-port": "^6.1.2",
|
2022-11-22 16:05:11 +01:00
|
|
|
"ndjson": "^2.0.0",
|
2022-12-21 14:53:08 +01:00
|
|
|
"pino-pretty": "^9.1.1",
|
2022-04-03 13:44:22 +02:00
|
|
|
"tap-min": "^2.0.0",
|
|
|
|
"tape": "^5.5.2"
|
2020-04-30 15:48:06 +02:00
|
|
|
},
|
2017-10-23 23:13:53 +02:00
|
|
|
"scripts": {
|
2020-10-04 13:46:14 +02:00
|
|
|
"docs": "node api-docs.js >docs/api.md && build-technical-doc --syntax-stylesheet-url /syntax.css <docs/readme.md >docs/index.html && build-technical-doc --syntax-stylesheet-url /syntax.css <docs/getting-started.md >docs/getting-started.html && build-technical-doc --syntax-stylesheet-url /syntax.css <docs/api.md >docs/api.html && build-technical-doc --syntax-stylesheet github >docs/syntax.css",
|
2020-05-01 20:12:24 +02:00
|
|
|
"build": "npm run docs",
|
2022-04-03 13:44:22 +02:00
|
|
|
"start": "node index.js",
|
2022-04-03 14:15:36 +02:00
|
|
|
"lint": "eslint .",
|
2022-04-03 14:29:17 +02:00
|
|
|
"test": "node test/index.js | tap-min"
|
2017-10-23 23:13:53 +02:00
|
|
|
}
|
|
|
|
}
|