forked from linkeddata/rdflib.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
150 lines (150 loc) · 6.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "rdflib",
"description": "an RDF library for node.js. Suitable for client and server side.",
"version": "1.1.0",
"engines": {
"node": ">=6.0"
},
"private": false,
"author": {
"name": "Tim BL",
"email": "[email protected]"
},
"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": "Cénotélie",
"url": "https://github.com/cenotelie/"
},
{
"name": "Joep Meindertsma",
"url": "https://github.com/joepio/"
},
{
"name": "Thom van Kalkeren",
"url": "https://github.com/fletcher91/"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/linkeddata/rdflib.js.git"
},
"homepage": "http://github.com/linkeddata/rdflib.js",
"bugs": "http://github.com/linkeddata/rdflib.js/issues",
"dependencies": {
"@babel/runtime": "^7.5.5",
"async": "^3.1.x",
"jsonld": "^1.8.0",
"n3": "^1.2.0",
"solid-auth-cli": "^1.0.8",
"solid-auth-client": "^2.3.0",
"xmldom": "^0.1.27"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.6.0",
"@babel/register": "^7.5.5",
"@types/chai": "^4.2.3",
"@types/dirty-chai": "^2.0.2",
"@types/express": "^4.17.1",
"@types/jsonld": "^1.5.0",
"@types/mocha": "^7.0.2",
"babel-loader": "^8.0.6",
"chai": "^4.2.0",
"diff": "^4.0.1",
"dirty-chai": "^2.0.1",
"fs-grep": "^0.0.5",
"mocha": "^7.1.1",
"nock": "^10.0.6",
"node-fetch": "^2.6.0",
"node-mkdirp": "0.0.1",
"rimraf": "^3.0.0",
"sinon": "^7.4.1",
"sinon-chai": "^3.3.0",
"source-map-loader": "^0.2.4",
"typedoc": "^0.17.3",
"typescript": "^3.7.2",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.8.0",
"wrapper-webpack-plugin": "^2.1.0"
},
"scripts": {
"build": "babel src --extensions \".ts,.js\" -d lib",
"build:esm": "babel src --extensions \".ts,.js\" --env-name esm -d esm",
"build:browser": "webpack --progress",
"build:types": "tsc --emitDeclarationOnly -d --declarationDir lib --allowJs false",
"doc": "rm -r doc ; typedoc",
"prepublishOnly": "npm ci && npm run build && npm run build:types && npm run build:browser && npm run build:esm",
"start": "webpack-dev-server --https --port 4800",
"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 --require ./tests/babel-register.js tests/unit/**-test.*",
"test:unit:egp": "mocha --require ./tests/babel-register.js tests/unit/fetcher-egp-test.js",
"test:unit:dev": "mocha --watch --growl --require ./tests/babel-register.js tests/unit/**-test.js"
},
"files": [
".babelrc",
"src",
"lib",
"dist",
"esm"
],
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"sideEffects": false,
"keywords": [
"linkeddata",
"linked data",
"rdf",
"rdfa",
"turtle",
"semantic",
"web",
"read-write web"
],
"standard": {
"globals": [
"ActiveXObject",
"Components",
"DOMParser",
"netscape",
"$rdf",
"Services",
"tabulator",
"WebSocket"
]
}
}