@ipld/dag-ucan
Version:
UCAN codec for IPLD
95 lines • 2.17 kB
JSON
{
"name": "@ipld/dag-ucan",
"description": "UCAN codec for IPLD",
"version": "3.4.5",
"keywords": [
"UCAN",
"IPLD",
"JWT",
"multicodec",
"codec",
"parser"
],
"files": [
"src",
"dist/src"
],
"repository": {
"type": "git",
"url": "https://github.com/ipld/js-dag-ucan.git"
},
"homepage": "https://github.com/ipld/js-dag-ucan",
"dependencies": {
"@ipld/dag-cbor": "^9.0.0",
"@ipld/dag-json": "^10.0.0",
"multiformats": "^13.3.1"
},
"devDependencies": {
"@noble/ed25519": "^1.6.0",
"@stablelib/ed25519": "^1.0.3",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@web-std/fetch": "^4.0.0",
"@web-std/file": "^3.0.2",
"c8": "^7.11.0",
"chai": "^4.3.6",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"playwright-test": "^8.1.1",
"typescript": "^4.9.4",
"ucans": "0.9.0"
},
"type": "module",
"main": "src/lib.js",
"module": "src/lib.js",
"types": "./dist/src/lib.d.ts",
"typesVersions": {
"*": {
".": [
"dist/src/lib.d.ts"
],
"did": [
"dist/src/did"
],
"signature": [
"dist/src/signature"
],
"codec/*": [
"dist/src/codec/*"
]
}
},
"exports": {
".": {
"types": "./dist/src/lib.d.ts",
"import": "./src/lib.js"
},
"./did": {
"types": "./dist/src/did.d.ts",
"import": "./src/did.js"
},
"./signature": {
"types": "./dist/src/signature.d.ts",
"import": "./src/signature.js"
},
"./codec/*": {
"types": "./dist/src/codec/*",
"import": "./src/codec/*.js"
}
},
"c8": {
"exclude": [
"test/**",
"dist/**"
]
},
"license": "Apache-2.0 OR MIT",
"scripts": {
"build": "tsc --build",
"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": "mocha test/**/*.spec.js",
"coverage": "c8 --reporter=html mocha test/**/*.spec.js && npm_config_yes=true npx st -d coverage -p 8080",
"check": "tsc --build"
}
}