jsonld
Version:
A JSON-LD Processor and API implementation in JavaScript.
134 lines (133 loc) • 4.46 kB
JSON
{
"name": "jsonld",
"version": "9.0.0",
"description": "A JSON-LD Processor and API implementation in JavaScript.",
"homepage": "https://github.com/digitalbazaar/jsonld.js",
"author": {
"name": "Digital Bazaar, Inc.",
"email": "support@digitalbazaar.com",
"url": "https://digitalbazaar.com/"
},
"contributors": [
"Dave Longley <dlongley@digitalbazaar.com>",
"David I. Lehn <dlehn@digitalbazaar.com>"
],
"repository": {
"type": "git",
"url": "https://github.com/digitalbazaar/jsonld.js"
},
"bugs": {
"url": "https://github.com/digitalbazaar/jsonld.js/issues",
"email": "support@digitalbazaar.com"
},
"license": "BSD-3-Clause",
"main": "lib/index.js",
"files": [
"dist/*.js",
"dist/*.js.map",
"lib/*.js",
"lib/**/*.js"
],
"dependencies": {
"@digitalbazaar/http-client": "^4.2.0",
"canonicalize": "^2.1.0",
"lru-cache": "^6.0.0",
"rdf-canonize": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
"@babel/plugin-transform-runtime": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/runtime": "^7.28.4",
"babel-loader": "^10.0.0",
"benchmark": "^2.1.4",
"browserify": "^17.0.1",
"chai": "^4.5.0",
"core-js": "^3.47.0",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"envify": "^4.1.0",
"eslint": "^8.57.1",
"eslint-config-digitalbazaar": "^5.2.0",
"esmify": "^2.1.1",
"express": "^5.1.0",
"fs-extra": "^11.3.2",
"join-path-js": "0.0.0",
"karma": "^6.4.4",
"karma-babel-preprocessor": "^8.0.2",
"karma-browserify": "^8.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-edge-launcher": "^0.4.2",
"karma-firefox-launcher": "^2.1.3",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-safari-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.4.0",
"karma-tap-reporter": "0.0.6",
"karma-webpack": "^5.0.1",
"klona": "^2.0.6",
"mocha": "^11.7.5",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^17.1.0",
"watchify": "^4.0.0",
"webpack": "^5.103.0",
"webpack-cli": "^6.0.1",
"webpack-merge": "^6.0.1"
},
"engines": {
"node": ">=18"
},
"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-rdf-canon-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-rdf-canon-test-suite": "if [ ! -e test-suites/rdf-canon ]; then git clone --depth 1 https://github.com/w3c/rdf-canon.git test-suites/rdf-canon; fi",
"test": "npm run test-node",
"test-node": "cross-env NODE_ENV=test mocha --delay -t 30000 -A -R ${REPORTER:-spec} tests/test-node.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
},
"react-native": {
"./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
}
}