UNPKG

4.37 kBJSONView Raw
1{
2 "name": "jsonld",
3 "version": "5.2.0",
4 "description": "A JSON-LD Processor and API implementation in JavaScript.",
5 "homepage": "https://github.com/digitalbazaar/jsonld.js",
6 "author": {
7 "name": "Digital Bazaar, Inc.",
8 "email": "support@digitalbazaar.com",
9 "url": "https://digitalbazaar.com/"
10 },
11 "contributors": [
12 "Dave Longley <dlongley@digitalbazaar.com>",
13 "David I. Lehn <dlehn@digitalbazaar.com>"
14 ],
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/digitalbazaar/jsonld.js"
18 },
19 "bugs": {
20 "url": "https://github.com/digitalbazaar/jsonld.js/issues",
21 "email": "support@digitalbazaar.com"
22 },
23 "license": "BSD-3-Clause",
24 "main": "lib/index.js",
25 "files": [
26 "dist/*.js",
27 "dist/*.js.map",
28 "lib/*.js",
29 "lib/**/*.js"
30 ],
31 "dependencies": {
32 "@digitalbazaar/http-client": "^1.1.0",
33 "canonicalize": "^1.0.1",
34 "lru-cache": "^6.0.0",
35 "rdf-canonize": "^3.0.0"
36 },
37 "devDependencies": {
38 "@babel/core": "^7.13.14",
39 "@babel/plugin-proposal-object-rest-spread": "^7.13.8",
40 "@babel/plugin-transform-modules-commonjs": "^7.13.8",
41 "@babel/plugin-transform-runtime": "^7.13.10",
42 "@babel/preset-env": "^7.13.12",
43 "@babel/runtime": "^7.13.10",
44 "babel-loader": "^8.2.2",
45 "benchmark": "^2.1.4",
46 "browserify": "^17.0.0",
47 "chai": "^4.3.4",
48 "core-js": "^3.10.0",
49 "cors": "^2.7.1",
50 "cross-env": "^7.0.3",
51 "envify": "^4.1.0",
52 "eslint": "^7.23.0",
53 "eslint-config-digitalbazaar": "^2.6.1",
54 "esmify": "^2.1.1",
55 "express": "^4.16.4",
56 "fs-extra": "^9.1.0",
57 "join-path-js": "0.0.0",
58 "karma": "^5.2.3",
59 "karma-babel-preprocessor": "^8.0.1",
60 "karma-browserify": "^8.0.0",
61 "karma-chrome-launcher": "^3.1.0",
62 "karma-edge-launcher": "^0.4.2",
63 "karma-firefox-launcher": "^2.1.0",
64 "karma-ie-launcher": "^1.0.0",
65 "karma-mocha": "^2.0.1",
66 "karma-mocha-reporter": "^2.2.5",
67 "karma-safari-launcher": "^1.0.0",
68 "karma-server-side": "^1.7.0",
69 "karma-sourcemap-loader": "^0.3.7",
70 "karma-tap-reporter": "0.0.6",
71 "karma-webpack": "^4.0.2",
72 "mocha": "^8.3.2",
73 "mocha-lcov-reporter": "^1.3.0",
74 "nyc": "^15.1.0",
75 "watchify": "^3.11.1",
76 "webpack": "^4.46.0",
77 "webpack-cli": "^4.5.0",
78 "webpack-merge": "^5.7.3"
79 },
80 "engines": {
81 "node": ">=12"
82 },
83 "keywords": [
84 "JSON",
85 "JSON-LD",
86 "Linked Data",
87 "RDF",
88 "Semantic Web",
89 "jsonld"
90 ],
91 "scripts": {
92 "prepublish": "npm run build",
93 "build": "npm run build-webpack",
94 "build-webpack": "webpack",
95 "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",
96 "fetch-json-ld-wg-test-suite": "npm run fetch-json-ld-api-test-suite && npm run fetch-json-ld-framing-test-suite",
97 "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",
98 "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",
99 "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",
100 "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",
101 "test": "npm run test-node",
102 "test-node": "cross-env NODE_ENV=test mocha --delay -t 30000 -A -R ${REPORTER:-spec} tests/test.js",
103 "test-karma": "cross-env NODE_ENV=test karma start",
104 "coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text-summary npm test",
105 "coverage-ci": "cross-env NODE_ENV=test nyc --reporter=lcovonly npm run test",
106 "coverage-report": "nyc report",
107 "lint": "eslint *.js lib/**.js tests/**.js"
108 },
109 "nyc": {
110 "exclude": [
111 "lib/documentLoaders/xhr.js",
112 "tests"
113 ]
114 },
115 "browser": {
116 "./lib/index.js": "./lib/jsonld.js",
117 "./lib/platform.js": "./lib/platform-browser.js",
118 "crypto": false,
119 "http": false,
120 "jsonld-request": false,
121 "request": false,
122 "url": false,
123 "util": false
124 }
125}