forked from digitalbazaar/jsonld.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 4.24 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
{
"name": "jsonld",
"version": "6.0.1-0",
"description": "A JSON-LD Processor and API implementation in JavaScript.",
"homepage": "https://github.com/digitalbazaar/jsonld.js",
"author": {
"name": "Digital Bazaar, Inc.",
"email": "[email protected]",
"url": "https://digitalbazaar.com/"
},
"contributors": [
"Dave Longley <[email protected]>",
"David I. Lehn <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/digitalbazaar/jsonld.js"
},
"bugs": {
"url": "https://github.com/digitalbazaar/jsonld.js/issues",
"email": "[email protected]"
},
"license": "BSD-3-Clause",
"main": "lib/index.js",
"files": [
"dist/*.js",
"dist/*.js.map",
"lib/*.js",
"lib/**/*.js"
],
"dependencies": {
"@digitalbazaar/http-client": "^3.2.0",
"canonicalize": "^1.0.1",
"lru-cache": "^6.0.0",
"rdf-canonize": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/runtime": "^7.13.10",
"babel-loader": "^8.2.2",
"benchmark": "^2.1.4",
"browserify": "^17.0.0",
"chai": "^4.3.4",
"core-js": "^3.10.0",
"cors": "^2.7.1",
"cross-env": "^7.0.3",
"envify": "^4.1.0",
"eslint": "^8.17.0",
"eslint-config-digitalbazaar": "^3.0.0",
"esmify": "^2.1.1",
"express": "^4.16.4",
"fs-extra": "^9.1.0",
"join-path-js": "0.0.0",
"karma": "^5.2.3",
"karma-babel-preprocessor": "^8.0.1",
"karma-browserify": "^8.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-edge-launcher": "^0.4.2",
"karma-firefox-launcher": "^2.1.0",
"karma-ie-launcher": "^1.0.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-safari-launcher": "^1.0.0",
"karma-server-side": "^1.7.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-tap-reporter": "0.0.6",
"karma-webpack": "^4.0.2",
"mocha": "^8.3.2",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.1.0",
"watchify": "^3.11.1",
"webpack": "^4.46.0",
"webpack-cli": "^4.5.0",
"webpack-merge": "^5.7.3"
},
"engines": {
"node": ">=14"
},
"keywords": [
"JSON",
"JSON-LD",
"Linked Data",
"RDF",
"Semantic Web",
"jsonld"
],
"scripts": {
"prepack": "npm run build",
"build": "npm run build-webpack",
"build-webpack": "webpack",
"fetch-test-suites": "npm run fetch-json-ld-wg-test-suite && npm run fetch-json-ld-org-test-suite && npm run fetch-normalization-test-suite",
"fetch-json-ld-wg-test-suite": "npm run fetch-json-ld-api-test-suite && npm run fetch-json-ld-framing-test-suite",
"fetch-json-ld-api-test-suite": "if [ ! -e test-suites/json-wg-api ]; then git clone --depth 1 https://github.com/w3c/json-ld-api.git test-suites/json-ld-api; fi",
"fetch-json-ld-framing-test-suite": "if [ ! -e test-suites/json-wg-framing ]; then git clone --depth 1 https://github.com/w3c/json-ld-framing.git test-suites/json-ld-framing; fi",
"fetch-json-ld-org-test-suite": "if [ ! -e test-suites/json-ld.org ]; then git clone --depth 1 https://github.com/json-ld/json-ld.org.git test-suites/json-ld.org; fi",
"fetch-normalization-test-suite": "if [ ! -e test-suites/normalization ]; then git clone --depth 1 https://github.com/json-ld/normalization.git test-suites/normalization; fi",
"test": "npm run test-node",
"test-node": "cross-env NODE_ENV=test mocha --delay -t 30000 -A -R ${REPORTER:-spec} tests/test.js",
"test-karma": "cross-env NODE_ENV=test karma start",
"coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary npm test",
"coverage-ci": "cross-env NODE_ENV=test nyc --reporter=lcovonly npm run test",
"coverage-report": "nyc report",
"lint": "eslint ."
},
"nyc": {
"exclude": [
"lib/documentLoaders/xhr.js",
"tests"
]
},
"browser": {
"./lib/index.js": "./lib/jsonld.js",
"./lib/platform.js": "./lib/platform-browser.js",
"crypto": false,
"http": false,
"jsonld-request": false,
"request": false,
"url": false,
"util": false
}
}