@dcxp/root
Version:
DCX: Decentralized Credential Exchange. DWN protocol for verifiable credential exchange.
116 lines (115 loc) • 3.42 kB
JSON
{
"name": "@dcxp/common",
"version": "1.0.0",
"description": "Common library for @dcx/issuer and @dcx/applicant",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"scripts": {
"clean": "rimraf dist coverage tests/compiled",
"build": "pnpm clean && pnpm build:esm && pnpm build:cjs",
"build:esm": "rimraf dist/esm dist/types && pnpm tsc -p tsconfig.json",
"build:cjs": "rimraf dist/cjs && node build/cjs-bundle.js && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
"build:tests:node": "rimraf tests/compiled && pnpm tsc -p tests/tsconfig.json",
"test": "pnpm test:node",
"test:e2e": "tsx tests/e2e/*.spec.ts",
"test:node": "pnpm build:tests:node && NODE_ENV=test pnpm c8 mocha --require dotenv/config",
"lint": "eslint . --max-warnings 0 -c ../../eslint.config.js",
"lint:fix": "eslint . --fix -c ../../eslint.config.js"
},
"homepage": "https://github.com/TBD54566975/incubation-dcx#readme",
"bugs": "https://github.com/TBD54566975/incubation-dcx/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/TBD54566975/incubation-dcx.git"
},
"license": "Apache-2.0",
"contributors": [
{
"name": "Bryan Nonni",
"url": "https://github.com/bnonni"
},
{
"name": "Ian Patton",
"url": "https://github.com/ianpatton"
}
],
"files": [
"dist",
"src"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"keywords": [
"decentralized",
"decentralized-applications",
"decentralized-identity",
"decentralized-web",
"vcs",
"verifiable credentials",
"web5",
"decentralized credential exchange",
"dwn",
"dweb node",
"dwn protocol"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18.0.0 || <22.0.0"
},
"dependencies": {
"@noble/ciphers": "0.4.1",
"@scure/bip39": "^1.3.0",
"@tbd54566975/dwn-sdk-js": "^0.4.4",
"@web5/agent": "^0.4.1",
"@web5/api": "^0.10.0",
"@web5/common": "^1.0.2",
"@web5/credentials": "^1.0.4",
"@web5/crypto": "^1.0.2",
"@web5/dids": "^1.1.2",
"@web5/user-agent": "^0.4.1",
"chalk": "^5.3.0",
"ed25519-keygen": "^0.6.2",
"isomorphic-ws": "^5.0.0",
"ms": "^2.1.3",
"readable-web-to-node-stream": "^3.0.2"
},
"devDependencies": {
"@playwright/test": "^1.45.3",
"@types/chai": "^4.3.16",
"@types/chai-as-promised": "^7.1.8",
"@types/eslint": "^9.6.0",
"@types/mocha": "^10.0.7",
"@types/ms": "^0.7.34",
"@types/node": "^20.14.11",
"@types/readable-stream": "^4.0.15",
"@types/ws": "^8.5.11",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@web/test-runner": "^0.18.2",
"@web/test-runner-playwright": "^0.11.0",
"abstract-level": "^2.0.0",
"c8": "^10.1.2",
"chai": "^5.1.1",
"chai-as-promised": "^8.0.0",
"dotenv": "^16.4.5",
"esbuild": "^0.23.0",
"eslint": "^8.57.0",
"eslint-plugin-mocha": "^10.4.3",
"globals": "^15.8.0",
"mocha": "^10.6.1",
"mocha-junit-reporter": "^2.2.1",
"playwright": "^1.45.3",
"rimraf": "^6.0.1",
"typescript": "^5.5.3",
"typescript-eslint": "^7.17.0"
}
}