link-rdflib
Version:
an RDF library for node.js, patched for speed.
129 lines (128 loc) • 5.32 kB
JSON
{
"name": "link-rdflib",
"description": "an RDF library for node.js, patched for speed.",
"version": "0.19.1-20190515T091246",
"engines": {
"node": ">=6.0"
},
"private": false,
"author": {
"name": "Tim BL",
"email": "timbl@w3.org"
},
"contributors": [
{
"name": "Ruben Verborgh",
"url": "https://github.com/RubenVerborgh"
},
{
"name": "Dmitri Zagidulin",
"url": "https://github.com/dmitrizagidulin/"
},
{
"name": "Daniel Friedman",
"url": "https://github.com/dan-f/"
},
{
"name": "Thom van Kalkeren",
"url": "https://github.com/fletcher91/"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/fletcher91/rdflib.js.git"
},
"homepage": "http://github.com/fletcher91/rdflib.js",
"bugs": "http://github.com/fletcher91/rdflib.js/issues",
"dependencies": {
"async": "^0.9.x",
"jsonld": "^0.4.5",
"n-quads-parser": ">=1.3.0",
"n3": "^0.4.1",
"solid-auth-client": "^2.2.3",
"xmldom": "^0.1.22"
},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.2",
"babel-minify-webpack-plugin": "^0.3.1",
"chai": "^4.1.0",
"diff": "^3.2.0",
"dirty-chai": "^2.0.0",
"fs-grep": "^0.0.5",
"jsdoc": "^3.5.5",
"mocha": "^5.2.0",
"nock": "^9.0.13",
"node-fetch": "^1.7.0",
"node-mkdirp": "0.0.1",
"rimraf": "^2.6.1",
"sinon": "^2.3.6",
"sinon-chai": "^2.11.0",
"webpack": "^4.20.1",
"webpack-cli": "^3.1.1",
"webpack-sources": "^1.0.1",
"wrapper-webpack-plugin": "^2.0.0"
},
"scripts": {
"build": "babel src -d lib",
"doc": "rm -r doc ; jsdoc -d doc README.md src/*.js",
"prepare": "npm run build",
"test": "npm run test:unit && npm run test:serialize",
"test:clean": "rimraf tests/serialize/,*",
"test:serialize": "npm run build && npm run test:serialize:all && npm run test:clean",
"test:serialize:all": "npm run test:serialize:1 && npm run test:serialize:2 && npm run test:serialize:3 && npm run test:serialize:4 && npm run test:serialize:5 && npm run test:serialize:6 && npm run test:serialize:7 && npm run test:serialize:10 && npm run test:serialize:11 && npm run test:serialize:12 && npm run test:serialize:13",
"test:serialize:1": "cd ./tests/serialize && node ./data.js -in=t1.ttl -format=application/rdf+xml -out=,t1.xml && fs-grep http://www.w3.org/2001/XMLSchema#integer ,t1.xml",
"test:serialize:2": "cd ./tests/serialize && node ./data.js -in=t2.ttl -format=application/rdf+xml -out=,t2.xml && node diff ,t2.xml t2-ref.xml",
"test:serialize:3": "cd ./tests/serialize && node ./data.js -in=t3.ttl -format=application/rdf+xml -out=,t3.xml && node diff ,t3.xml t3-ref.xml",
"test:serialize:4": "cd ./tests/serialize && node ./data.js -in=t3.ttl -out=,t4.ttl && node diff ,t4.ttl t4-ref.ttl",
"test:serialize:5": "cd ./tests/serialize && node ./data.js -in=t5.n3 -format=text/turtle -out=,t5.ttl && node diff ,t5.ttl t5-ref.ttl",
"test:serialize:6": "cd ./tests/serialize && node ./data.js -in=t5.n3 -format=text/n3 -out=,t6.n3 && node diff ,t6.n3 t6-ref.n3",
"test:serialize:7": "cd ./tests/serialize && node ./data.js -in=t7.n3 -format=application/n-triples -out=,t7.nt && node diff ,t7.nt t7-ref.nt",
"test:serialize:8": "cd ./tests/serialize && node ./data.js -in=t5.n3 -format=application/n-quads -dump=,t8.nq && node diff ,t8.nq t8-ref.nq",
"test:serialize:9": "cd ./tests/serialize && node ./data.js -in=t7.n3 -format=application/ld+json -out=,t9.json && node diff ,t9.json t9-ref.json",
"test:serialize:10": "cd ./tests/serialize && node ./data.js -in=details.ttl -format=text/turtle -out=,t10.ttl && node diff ,t10.ttl t10-ref.ttl",
"test:serialize:11": "cd ./tests/serialize && node ./data.js -in=structures.n3 -format=application/rdf+xml -out=,structures.xml && node diff ,structures.xml t11-ref.xml",
"test:serialize:12": "cd ./tests/serialize && node ./data.js -in=structures.n3 -format=text/turtle -out=,structures.ttl && node diff ,structures.ttl t12-ref.ttl",
"test:serialize:13": "cd ./tests/serialize && node ./data.js -in=structures.n3 -format=application/n-triples -out=,structures.nt && node ./data.js -format=application/n-triples -in=,structures.nt -format=text/turtle -out=,structures.nt.ttl && node diff ,structures.nt.ttl t13-ref.ttl",
"test:unit": "mocha --growl --compilers js:@babel/register tests/unit/**-test.js",
"test:unit:egp": "mocha --compilers js:@babel/register tests/unit/fetcher-egp-test.js",
"test:unit:dev": "mocha --watch --growl --compilers js:@babel/register tests/unit/**-test.js"
},
"files": [
"src",
"lib",
"dist",
"index.d.ts"
],
"main": "lib/index.js",
"types": "index.d.ts",
"keywords": [
"linkeddata",
"linked data",
"link-lib",
"link-redux",
"rdf",
"rdfa",
"turtle",
"semantic",
"web",
"read-write web"
],
"standard": {
"globals": [
"ActiveXObject",
"Components",
"DOMParser",
"netscape",
"$rdf",
"Services",
"tabulator",
"WebSocket"
]
}
}