UNPKG

@ucanto/core

Version:
111 lines 2.64 kB
{ "name": "@ucanto/core", "description": "ucanto core", "version": "10.3.1", "keywords": [ "UCAN", "RPC", "IPLD", "JWT", "multicodec", "codec", "invocation" ], "files": [ "src", "dist/src" ], "repository": { "type": "git", "url": "https://github.com/web3-storage/ucanto.git" }, "homepage": "https://github.com/web3-storage/ucanto", "dependencies": { "@ipld/car": "^5.1.0", "@ipld/dag-cbor": "^9.0.0", "@ipld/dag-ucan": "^3.4.5", "multiformats": "^13.3.1", "@ucanto/interface": "^10.2.0" }, "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", "@ucanto/principal": "^9.0.2" }, "type": "module", "main": "src/lib.js", "types": "./dist/src/lib.d.ts", "typesVersions": { "*": { "*": [ "dist/src/*" ], "dist/src/lib.d.ts": [ "dist/src/lib.d.ts" ] } }, "exports": { ".": { "types": "./dist/src/lib.d.ts", "import": "./src/lib.js" }, "./src/lib.js": { "types": "./dist/src/lib.d.ts", "import": "./src/lib.js" }, "./link": { "types": "./dist/src/link.d.ts", "import": "./src/link.js" }, "./delegation": { "types": "./dist/src/delegation.d.ts", "import": "./src/delegation.js" }, "./receipt": { "types": "./dist/src/receipt.d.ts", "import": "./src/receipt.js" }, "./cbor": { "types": "./dist/src/cbor.d.ts", "import": "./src/cbor.js" }, "./car": { "types": "./dist/src/car.d.ts", "import": "./src/car.js" }, "./dag": { "types": "./dist/src/dag.d.ts", "import": "./src/dag.js" }, "./result": { "types": "./dist/src/result.d.ts", "import": "./src/result.js" }, "./schema": { "types": "./dist/src/schema.d.ts", "import": "./src/schema.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": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha --bail test/*.spec.js", "coverage": "c8 --reporter=html mocha test/*.spec.js && npm_config_yes=true npx st -d coverage -p 8080", "check": "tsc --build", "build": "tsc --build" } }