04543f0146
closes #22
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"private": true,
|
|
"name": "db-rest",
|
|
"description": "A clean REST API wrapping around the Deutsche Bahn API.",
|
|
"version": "5.0.2",
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"author": "Jannis R <mail@jannisr.de>",
|
|
"homepage": "https://github.com/derhuerst/db-rest/tree/6",
|
|
"repository": "derhuerst/db-rest",
|
|
"bugs": "https://github.com/derhuerst/db-rest/issues",
|
|
"license": "ISC",
|
|
"keywords": [
|
|
"public",
|
|
"transport",
|
|
"api",
|
|
"http",
|
|
"rest",
|
|
"deutsche bahn",
|
|
"db"
|
|
],
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"dependencies": {
|
|
"cached-hafas-client": "^5.0.1",
|
|
"cli-native": "^1.0.0",
|
|
"db-hafas": "^6.0.0",
|
|
"db-stations": "^3.0.0",
|
|
"db-stations-autocomplete": "^2.2.0",
|
|
"etag": "^1.8.1",
|
|
"hafas-client-health-check": "^2.1.1",
|
|
"hafas-rest-api": "^5.1.0",
|
|
"ioredis": "^5.0.6",
|
|
"serve-buffer": "^2.0.0",
|
|
"serve-static": "^1.14.1"
|
|
},
|
|
"devDependencies": {
|
|
"@derhuerst/technical-docs-cli": "^1.1.0",
|
|
"axios": "^0.26.1",
|
|
"eslint": "^8.12.0",
|
|
"get-port": "^5.1.1",
|
|
"ndjson": "^2.0.0",
|
|
"pino-pretty": "^4.0.0",
|
|
"tap-min": "^2.0.0",
|
|
"tape": "^5.5.2"
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"build": "npm run docs",
|
|
"start": "node index.js",
|
|
"lint": "eslint .",
|
|
"test": "node test/index.js | tap-min"
|
|
}
|
|
}
|