@digitalcredentials/jsonld
v9.0.0 JSON JSON-LD Linked Data RDF Semantic Web jsonld
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 .
npm i @digitalcredentials/jsonld
Metadata
- BSD-3-Clause
- >=14
- Digital Bazaar, Inc.
- released 8/4/2024