UNPKG

gtfs-stream

Version:

Streaming GTFS and GTFS-RT parser for node

112 lines (111 loc) 3.19 kB
{ "name": "gtfs-stream", "version": "3.0.0", "description": "Streaming GTFS and GTFS-RT parser for node", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.esm.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "keywords": [ "gtfs", "gtfs-rt", "transit", "stream", "parser" ], "repository": { "type": "git", "url": "git+https://github.com/staeco/gtfs-stream.git" }, "contributors": [ "Contra <yo@contra.io> (http://contra.io)" ], "license": "MIT", "bugs": { "url": "https://github.com/staeco/gtfs-stream/issues" }, "homepage": "https://github.com/staeco/gtfs-stream#readme", "files": [ "dist" ], "nyc": { "extends": "@istanbuljs/nyc-config-typescript", "include": [ "src/**/*.ts" ], "exclude": [ "**/*.d.ts", "dist", "coverage" ], "all": true, "check-coverage": false, "reporter": [ "text", "lcov" ] }, "scripts": { "preversion": "npm run clean && npm run build", "prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build", "build": "rollup -c --bundleConfigAsCjs --waitForBundleInput false", "clean": "rimraf dist", "lint": "eslint --ext .ts src test", "lint:fix": "eslint --ext .ts src test --fix", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "typecheck": "tsc --noEmit -p tsconfig.test.json", "test": "NODE_ENV=testing cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc mocha --require ts-node/register --timeout 36000 test/**/*.ts", "coverage": "nyc report --reporter=text-lcov > coverage/lcov.info" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", "@rollup/plugin-commonjs": "^24.1.0", "@rollup/plugin-node-resolve": "^15.3.1", "@rollup/plugin-typescript": "^11.1.6", "@types/duplexify": "^3.6.0", "@types/lodash.pickby": "^4.6.0", "@types/mocha": "^10.0.0", "@types/node": "^22.14.0", "@types/pluralize": "^0.0.33", "@types/should": "^11.2.0", "@types/through2": "^2.0.0", "@types/unzipper": "^0.10.0", "typescript-eslint": "^8.29.1", "cross-env": "^7.0.3", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.2", "eslint-plugin-prettier": "^5.2.6", "get-stream": "^6.0.0", "into-stream": "^6.0.0", "mocha": "^11.0.0", "nyc": "^17.0.0", "prettier": "^3.5.3", "rimraf": "^6.0.1", "rollup": "^3.29.5", "rollup-plugin-dts": "^5.3.1", "should": "^13.0.0", "source-map-support": "^0.5.21", "ts-node": "^10.0.0", "tslib": "^2.0.0", "typescript": "^5.8.3" }, "dependencies": { "@types/get-stream": "^3.0.1", "csv-parser": "^3.2.0", "gtfs-rt-bindings": "^4.7.0", "gtfs-types": "^5.1.0", "lodash.pickby": "^4.6.0", "pluralize": "^8.0.0", "pumpify": "^2.0.1", "remove-bom-stream": "^2.0.0", "through2": "^4.0.2", "unzipper": "^0.12.3" }, "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447" }