UNPKG

@drfrost/bods-js

Version:

JavaScript client for the UK's Bus Open Data Service (BODS) API

71 lines (70 loc) 1.72 kB
{ "name": "@drfrost/bods-js", "version": "1.0.1", "description": "JavaScript client for the UK's Bus Open Data Service (BODS) API", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" } }, "private": false, "keywords": [ "bods", "bus", "transport", "uk", "api", "client", "timetables", "fares", "real-time", "disruptions" ], "author": { "name": "Mike Eling", "email": "mike.eling97@gmail.com" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/DRFR0ST/bods-js.git" }, "bugs": { "url": "https://github.com/DRFR0ST/bods-js/issues" }, "homepage": "https://github.com/DRFR0ST/bods-js#readme", "scripts": { "build": "tsc --project tsconfig.build.json", "build:esm": "tsc --project tsconfig.build.json", "build:types": "tsc --project tsconfig.build.json --emitDeclarationOnly", "build:all": "bun run clean && bun run build:esm", "test": "bun test src/test/bods-client.test.ts", "test:integration": "bun run src/test/integration.test.ts", "dev": "bun run src/examples.ts", "cli": "bun run src/cli.ts", "lint": "tsc --noEmit", "type-check": "tsc --noEmit", "format:check": "echo 'Format check placeholder - add prettier/biome later'", "clean": "rm -rf dist" }, "files": [ "dist", "src", "README.md" ], "engines": { "node": ">=18.0.0" }, "devDependencies": { "@types/bun": "latest" }, "peerDependencies": { "typescript": "^5" } }