UNPKG

jsonld-streaming-serializer

Version:
115 lines (114 loc) 3.8 kB
{ "name": "jsonld-streaming-serializer", "version": "4.0.0", "description": "A fast and lightweight streaming JSON-LD serializer", "keywords": [ "json", "linked data", "semantic web", "json-ld", "jsonld", "rdf", "rdfjs", "streaming", "asynchronous" ], "main": "index.js", "typings": "index", "repository": "git@github.com:rubensworks/jsonld-streaming-serializer.js.git", "author": "Ruben Taelman <rubensworks@gmail.com>", "funding": { "type": "individual", "url": "https://github.com/sponsors/rubensworks/" }, "bugs": { "url": "https://github.com/rubensworks/jsonld-streaming-serializer.js/issues" }, "homepage": "https://github.com/rubensworks/jsonld-streaming-serializer.js#readme", "license": "MIT", "files": [ "lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map", "index.d.ts", "index.js.map", "index.js" ], "dependencies": { "@rdfjs/types": "^2.0.0", "@types/readable-stream": "^4.0.0", "buffer": "^6.0.3", "jsonld-context-parser": "^3.0.0", "readable-stream": "^4.0.0" }, "pre-commit": [ "build", "lint", "test" ], "devDependencies": { "@types/jest": "^29.0.0", "@types/jest-each": "^24.3.0", "@types/node": "^22.0.0", "coveralls": "^3.0.0", "jest": "^29.0.0", "jest-each": "^29.0.0", "jest-rdf": "^2.0.0", "manual-git-changelog": "^1.0.1", "pre-commit": "^1.2.2", "rdf-data-factory": "^2.0.0", "rdf-test-suite": "^1.13.4", "stream-to-string": "^1.2.0", "streamify-array": "^1.0.1", "ts-jest": "^29.0.0", "ts-loader": "^9.3.1", "tslint": "^6.0.0", "tslint-eslint-rules": "^5.3.1", "typescript": "^5.7.2", "webpack": "^5.73.0", "webpack-cli": "^6.0.0" }, "jest": { "globals": { "ts-jest": { "tsconfig": "test/tsconfig.json" } }, "setupFilesAfterEnv": [ "jest-rdf" ], "transform": { "^.+\\.ts$": "ts-jest" }, "transformIgnorePatterns": [ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$" ], "testRegex": "(/test/.*|(\\.|/)(test|spec))\\.ts$", "moduleFileExtensions": [ "ts", "js" ], "collectCoverage": true, "testEnvironment": "node" }, "scripts": { "test": "jest ${1}", "test-watch": "jest ${1} --watch", "coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls", "lint": "tslint index.ts lib/**/*.ts test/**/*.ts --exclude '**/*.d.ts'", "build": "tsc", "build-watch": "tsc --watch", "validate": "npm ls", "prepare": "npm run build", "version": "manual-git-changelog onversion", "spec": "npm run spec-fromrdf && npm run spec-fromrdf-star", "spec-earl": "npm run spec-earl-fromrdf && npm run spec-earl-fromrdf-star", "spec-fromrdf": "rdf-test-suite spec/serializer.js https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.jsonld -c .rdf-test-suite-cache/ -e", "spec-fromrdf-star": "rdf-test-suite spec/serializer.js https://json-ld.github.io/json-ld-star/tests/fromRdf-manifest.jsonld -c .rdf-test-suite-cache/ -e", "spec-earl-fromrdf": "rdf-test-suite spec/serializer.js https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.jsonld -c .rdf-test-suite-cache/ -o earl -p spec/earl-meta.json > spec/earl-fromrdf.ttl", "spec-earl-fromrdf-star": "rdf-test-suite spec/serializer.js https://json-ld.github.io/json-ld-star/tests/fromRdf-manifest.jsonld -c .rdf-test-suite-cache/ -o earl -p spec/earl-meta.json > spec/earl-fromrdf-star.ttl", "spec-clean": "rm -r .rdf-test-suite-cache/" }, "sideEffects": false, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }