UNPKG

all-airports

Version:

Serves as an independent data scraping module, complete with ontology and full scraping ability for the airports of the world

94 lines (93 loc) 3.32 kB
{ "name": "all-airports", "version": "0.1.3", "description": "Serves as an independent data scraping module, complete with ontology and full scraping ability for the airports of the world", "main": "lib/api.js", "scripts": { "build": "tsc", "clean:dist": "npm-run-all clean:dist:*", "clean:dist:json": "rimraf \"dist/json/**/*.*\"", "clean:dist:jsonld": "rimraf \"dist/jsonld/**/*.*\"", "clean:dist:nt": "rimraf \"dist/n-triples/**/*.*\"", "clean:dist:rdf": "rimraf \"dist/ontology/**/*.*\"", "clean:logs": "rimraf \"logs/*log*\"", "copy:build:csv": "copyfiles -f \"src/assets/*.csv\" \"lib/assets/\"", "copy:build:json": "copyfiles -f \"src/assets/*.json\" \"lib/assets/\"", "copy:build:dat": "copyfiles -f \"src/assets/*.dat\" \"lib/assets/\"", "copy:build:ontology": "copyfiles -u 4 \"node_modules/funktologies/lib/ontology/**/*.*\" \"lib/ontology/\"", "copy:ontology": "npm-run-all copy:jsonld copy:owl", "copy:jsonld": "copyfiles -u 5 \"node_modules/funktologies/lib/ontology/**/*.jsonld\" \"dist/ontology/jsonld/\"", "copy:owl": "copyfiles -u 5 \"node_modules/funktologies/lib/ontology/**/*.rdf\" \"dist/ontology/owl/\"", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "lint": "tslint -p tsconfig.json", "postbuild": "npm-run-all copy:build:*", "scrape": "ts-node src/index.ts", "start": "run-s clean:logs clean:dist scrape copy:ontology zip -- --recurse-directories=false", "test": "echo \"Error: no test specified\" && exit 1", "zip": "npm-run-all zip:*", "zip:json": "bestzip \"dist/json/json.zip\" \"dist/json/*.json\"", "zip:jsonld": "bestzip \"dist/jsonld/jsonld.zip\" \"dist/jsonld/*.schema.jsonld\"", "zip:triples": "bestzip \"dist/n-triples/n-triples.zip\" \"dist/n-triples/*.schema.nt" }, "files": [ "lib/**/*" ], "repository": { "type": "git", "url": "https://github.com/WilliamRADFunk/all-airports.git" }, "keywords": [ "data", "big", "big-data", "data-scraping", "scraping", "ontology", "json", "json-ld", "geoJson", "airports", "ports", "planes", "airlines", "airlines.json", "airports.json" ], "author": "William RAD Funk", "license": "UNLICENSED", "dependencies": { "@types/cheerio": "^0.22.11", "@types/graceful-fs": "^4.1.3", "@types/request-promise": "^4.1.42", "airports": "^1.0.0", "bestzip": "^2.1.4", "bluebird": "^3.5.4", "cheerio": "^1.0.0-rc.2", "copyfiles": "^2.1.0", "csvtojson": "^2.0.8", "funktologies": "^0.1.3", "html-to-text": "^4.0.0", "image-downloader": "^3.4.2", "log4js": "^4.1.0", "npm-run-all": "^4.1.5", "request": "^2.68.0", "request-promise": "^4.2.4", "rimraf": "^2.6.3", "simple-node-logger": "^18.12.22", "ts-node": "^8.0.3", "typescript": "^3.4.5", "uuid-by-string": "^2.1.1" }, "devDependencies": { "cryptiles": "^4.1.2", "hawk": "^3.1.3", "hoek": "^4.2.1", "https-proxy-agent": "^2.2.1", "mime": "^1.4.1", "prettier": "^1.17.0", "qs": "^1.2.2", "tslint": "^5.15.0", "tslint-config-prettier": "^1.18.0", "typings": "^2.1.1" } }