UNPKG

gtfs2lc

Version:

Mapping script from gtfs to (linked) connections

46 lines (45 loc) 1.81 kB
{ "name": "gtfs2lc", "version": "2.3.1", "description": "Mapping script from gtfs to (linked) connections", "main": "lib/gtfs2lc.js", "bin": { "gtfs2lc": "./bin/gtfs2lc.js", "gtfs2lc-clean": "./bin/gtfs2lc-clean.sh", "linkedconnections-joinandsort": "./bin/linkedconnections-sort.sh" }, "scripts": { "test": "rm -rf test/sample-feed/ ; cp -r test/sample-feed-test/ test/sample-feed/ ; ./bin/gtfs2lc.js -s -f jsonld test/sample-feed > test/sample-feed/connections-notjoined.nldjsonld ; ./bin/linkedconnections-sort.sh test/sample-feed/connections-notjoined.nldjsonld > test/sample-feed/connections.nldjsonld ; rm test/sample-feed/linkedConnections.json ; jest --runInBand", "test-ci": "rm -rf test/sample-feed/ ; cp -r test/sample-feed-test/ test/sample-feed/ ; ./bin/gtfs2lc.js -s -f jsonld test/sample-feed > test/sample-feed/connections-notjoined.nldjsonld ; ./bin/linkedconnections-sort.sh test/sample-feed/connections-notjoined.nldjsonld > test/sample-feed/connections.nldjsonld ; rm test/sample-feed/linkedConnections.json ; jest --ci --runInBand --coverage", "coveralls": "jest --coverage && coveralls < coverage/lcov.info" }, "repository": { "type": "git", "url": "git://github.com/LinkedConnections/gtfs2lc.git" }, "keywords": [ "GTFS", "Linked Connections", "RDF" ], "author": "Pieter Colpaert", "license": "MIT", "bugs": { "url": "https://github.com/LinkedConnections/gtfs2lc/issues" }, "dependencies": { "commander": "^4.1.1", "date-fns": "^2.30.0", "del": "^5.1.0", "fast-csv": "^4.3.6", "JSONStream": "^1.3.5", "level": "^8.0.0", "n3": "^1.17.0", "stream-json": "^1.8.0", "uri-templates": "^0.2.0" }, "devDependencies": { "coveralls": "^3.1.1", "jest": "^29.6.1" } }