UNPKG

cia-world-leaders

Version:

Serves as an independent data scraping module, complete with ontology and full scraping ability for the CIA World Leaders site

87 lines (86 loc) 2.93 kB
{ "name": "cia-world-leaders", "version": "0.1.13", "description": "Serves as an independent data scraping module, complete with ontology and full scraping ability for the CIA World Leaders site", "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/ontology/**/*.jsonld", "clean:dist:rdf": "rimraf dist/ontology/**/*.rdf", "clean:logs": "rimraf logs/*log*", "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": "copyfiles -u 4 node_modules/funktologies/lib/ontology/**/*.* lib/ontology/", "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/cia-world-leaders.git" }, "keywords": [ "data", "big", "big-data", "data-scraping", "scraping", "ontology", "json", "json-ld", "CIA", "CIA-world-leaders", "world", "leaders", "world-leaders", "world-leaders.json", "countries" ], "author": "William RAD Funk", "license": "UNLICENSED", "dependencies": { "@types/cheerio": "^0.22.11", "@types/graceful-fs": "^4.1.3", "@types/request-promise": "^4.1.42", "bestzip": "^2.1.4", "bluebird": "^3.5.4", "cheerio": "^1.0.0-rc.2", "copyfiles": "^2.1.0", "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.3.3333", "uuid-by-string": "^2.1.0" }, "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" } }