UNPKG

@ucanto/client

Version:
75 lines 1.77 kB
{ "name": "@ucanto/client", "description": "UCAN RPC Client", "version": "9.0.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": { "@ucanto/core": "^10.0.0", "@ucanto/interface": "^10.0.0" }, "devDependencies": { "@types/chai": "^4.3.3", "@types/mocha": "^10.0.1", "@web-std/fetch": "^4.1.0", "@web-std/file": "^3.0.2", "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.1", "@ucanto/transport": "^9.1.1" }, "type": "module", "main": "src/lib.js", "types": "./dist/src/lib.d.ts", "typesVersions": { "*": { "*": [ "dist/*" ], "dist/src/lib.d.ts": [ "dist/src/lib.d.ts" ] } }, "exports": { ".": { "types": "./dist/src/lib.d.ts", "import": "./src/lib.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/test-*.js && npm_config_yes=true npx st -d coverage -p 8080", "check": "tsc --build", "build": "tsc --build" } }