UNPKG

@ucanto/principal

Version:
99 lines 2.26 kB
{ "name": "@ucanto/principal", "description": "ucanto principal", "version": "9.0.2", "keywords": [ "UCAN", "ed25519", "did", "issuer", "audience" ], "files": [ "src", "dist/src" ], "repository": { "type": "git", "url": "https://github.com/web3-storage/ucanto.git" }, "homepage": "https://github.com/web3-storage/ucanto", "dependencies": { "@ipld/dag-ucan": "^3.4.5", "@noble/curves": "^1.2.0", "@noble/ed25519": "^1.7.3", "@noble/hashes": "^1.3.2", "multiformats": "^13.3.1", "one-webcrypto": "^1.0.3", "@ucanto/interface": "^10.1.1" }, "devDependencies": { "@types/chai": "^4.3.3", "@types/mocha": "^10.0.1", "c8": "^7.13.0", "chai": "^4.3.6", "mocha": "^10.1.0", "nyc": "^15.1.0", "playwright-test": "^8.2.0", "typescript": "^5.0.4" }, "type": "module", "main": "src/lib.js", "types": "./dist/src/lib.d.ts", "typesVersions": { "*": { ".": [ "dist/src/lib.d.ts" ], "ed25519": [ "dist/src/ed25519.d.ts" ], "rsa": [ "dist/src/rsa.d.ts" ], "absentee": [ "dist/src/absentee.d.ts" ], "multiformat": [ "dist/src/multiformat.d.ts" ] } }, "exports": { ".": { "types": "./dist/src/lib.d.ts", "import": "./src/lib.js" }, "./ed25519": { "types": "./dist/src/ed25519.d.ts", "import": "./src/ed25519.js" }, "./rsa": { "types": "./dist/src/rsa.d.ts", "import": "./src/rsa.js" }, "./absentee": { "types": "./dist/src/absentee.d.ts", "import": "./src/absentee.js" }, "./multiformat": { "types": "./dist/src/multiformat.d.ts", "import": "./src/multiformat.js" } }, "c8": { "exclude": [ "test/**", "dist/**" ] }, "license": "(Apache-2.0 AND MIT)", "scripts": { "test:web": "playwright-test test/**/*.spec.js --cov && nyc report", "test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/**/*.spec.js", "test": "npm run test:node", "coverage": "c8 report -r html && open coverage/index.html", "check": "tsc --build", "build": "tsc --build" } }