UNPKG

@klayr-did/klayr-verifiable-credentials

Version:

A library for working with W3C verifiable credentials (VC) and verifiable presentations (VP) using Klayr DID

85 lines (84 loc) 2.85 kB
{ "name": "@klayr-did/klayr-verifiable-credentials", "version": "0.2.6", "description": "A library for working with W3C verifiable credentials (VC) and verifiable presentations (VP) using Klayr DID", "keywords": [ "vc", "verifiable-credentials", "blockchain", "web3", "Klayr" ], "author": "Aldo Suhartono Putra <aldhosutra@gmail.com>", "homepage": "https://klayr-did.js.org", "license": "Apache-2.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": "./dist/index.js", "directories": { "src": "src", "test": "test" }, "files": [ "dist", "LICENSE", "README.md", "package.json" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/aldhosutra/klayr-did.git" }, "scripts": { "clean": "if test junit.xml; then rm junit.xml; fi; if test -d dist; then rm -r dist; fi; if test -d typedoc; then rm -r typedoc; fi; if test -d coverage; then rm -r coverage; fi; rm -rf node_modules; rm -f tsconfig.tsbuildinfo; rm -f npm-shrinkwrap.json", "lint": "eslint --ext .ts .", "lint:fix": "eslint --fix --ext .js,.ts .", "format": "prettier --write '**/*'", "build": "tsc", "test": "jest --passWithNoTests", "test:coverage": "jest --passWithNoTests --coverage=true --coverage-reporters=text", "test:ci": "jest --config ./jest.config.js --collectCoverage --coverageDirectory=\"./coverage\" --ci --reporters=default --reporters=jest-junit --watchAll=false", "prepublishOnly": "npm ci && npm run lint && npm run build" }, "bugs": { "url": "https://github.com/aldhosutra/klayr-did/issues" }, "devDependencies": { "@babel/core": "^7.22.10", "@babel/preset-env": "^7.22.10", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^5.62.0", "babel-jest": "^29.6.2", "babel-plugin-rewire": "^1.2.0", "eslint": "^8.46.0", "eslint-config-lisk-base": "^2.0.1", "eslint-config-standard-with-typescript": "^37.0.0", "eslint-plugin-import": "^2.28.0", "eslint-plugin-jest": "^27.2.3", "eslint-plugin-n": "^16.0.1", "eslint-plugin-promise": "^6.1.1", "husky": "^8.0.3", "jest": "^29.6.2", "jest-extended": "^4.0.1", "jest-junit": "^16.0.0", "lint-staged": "^14.0.0", "prettier": "3.0.1", "ts-jest": "^29.1.1", "tslib": "^2.6.2", "typescript": "^5.1.6" }, "dependencies": { "@digitalcredentials/dcc-context": "^1.0.0", "@digitalcredentials/vc": "^6.0.0", "@digitalcredentials/vc-data-model": "^1.1.1", "@klayr-did/klayr-decentralized-identifier": "^0.2.6", "did-context": "^3.1.1", "html-entities": "^2.4.0", "klayr-sdk": "^6.0.4", "x25519-key-agreement-2020-context": "^1.0.0" }, "gitHead": "330f73d9fe1af0ef2b589981e6ea6271b9d48033" }