-
Notifications
You must be signed in to change notification settings - Fork 132
/
Copy pathpackage.json
109 lines (109 loc) · 4.07 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
{
"name": "n3",
"version": "1.17.3",
"description": "Lightning fast, asynchronous, streaming Turtle / N3 / RDF library.",
"author": "Ruben Verborgh <[email protected]>",
"keywords": [
"turtle",
"rdf",
"n3",
"streaming",
"asynchronous"
],
"license": "MIT",
"main": "./lib/index.js",
"module": "./src/index.js",
"sideEffects": false,
"engines": {
"node": ">=12.0"
},
"files": [
".babelrc",
"src",
"lib",
"browser"
],
"dependencies": {
"buffer": "^6.0.3",
"queue-microtask": "^1.1.2",
"readable-stream": "^4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/register": "^7.16.0",
"@rdfjs/data-model": "^1",
"arrayify-stream": "^3.0.0",
"browserify": "^17.0.0",
"deep-taxonomy-benchmark": "^2.0.0",
"docco": "^0.9.1",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.8.3",
"jest": "^29.7.0",
"pre-commit": "^1.2.2",
"rdf-isomorphic": "^1.3.1",
"rdf-test-suite": "^1.25.0",
"streamify-string": "^1.0.1",
"uglify-js": "^3.14.3"
},
"scripts": {
"build": "npm run build:node && npm run build:browser",
"build:node": "babel src -d lib",
"build:browser": "rm -rf browser && mkdir browser && browserify -s N3 lib/index.js | uglifyjs > browser/n3.min.js",
"test": "jest",
"lint": "eslint src perf test spec",
"prepare": "npm run build",
"spec": "npm run spec-turtle && npm run spec-ntriples && npm run spec-nquads && npm run spec-trig",
"spec-earl": "npm run spec-earl-turtle && npm run spec-earl-ntriples && npm run spec-earl-nquads && npm run spec-earl-trig",
"spec-ntriples": "rdf-test-suite spec/parser.js https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-n-triples/manifest.ttl -i '{ \"format\": \"n-triples\" }' -c .rdf-test-suite-cache/",
"spec-nquads": "rdf-test-suite spec/parser.js https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-n-quads/manifest.ttl -i '{ \"format\": \"n-quads\" }' -c .rdf-test-suite-cache/",
"spec-turtle": "rdf-test-suite spec/parser.js https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-turtle/manifest.ttl -i '{ \"format\": \"turtle\" }' -c .rdf-test-suite-cache/",
"spec-trig": "rdf-test-suite spec/parser.js https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-trig/manifest.ttl -i '{ \"format\": \"trig\" }' -c .rdf-test-suite-cache/",
"spec-earl-ntriples": "rdf-test-suite spec/parser.js https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-n-triples/manifest.ttl -i '{ \"format\": \"n-triples\" }' -c .rdf-test-suite-cache/ -o earl -p spec/earl-meta.json > spec/earl-ntriples.ttl",
"spec-earl-nquads": "rdf-test-suite spec/parser.js https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-n-quads/manifest.ttl -i '{ \"format\": \"n-quads\" }' -c .rdf-test-suite-cache/ -o earl -p spec/earl-meta.json > spec/earl-nquads.ttl",
"spec-earl-turtle": "rdf-test-suite spec/parser.js https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-turtle/manifest.ttl -i '{ \"format\": \"turtle\" }' -c .rdf-test-suite-cache/ -o earl -p spec/earl-meta.json > spec/earl-turtle.ttl",
"spec-earl-trig": "rdf-test-suite spec/parser.js https://w3c.github.io/rdf-tests/rdf/rdf11/rdf-trig/manifest.ttl -i '{ \"format\": \"trig\" }' -c .rdf-test-suite-cache/ -o earl -p spec/earl-meta.json > spec/earl-trig.ttl",
"spec-clean": "rm -r .rdf-test-suite-cache/",
"docs": "cd src && docco *.js -o ../docs && cd .."
},
"repository": {
"type": "git",
"url": "https://github.com/rdfjs/N3.js.git"
},
"bugs": {
"url": "https://github.com/rdfjs/N3.js/issues"
},
"pre-commit": [
"lint",
"test"
],
"jest": {
"testMatch": [
"**/test/*-test.js"
],
"collectCoverage": true,
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"release": {
"branches": [
"main"
]
},
"publishConfig": {
"access": "public"
}
}