@ucanto/transport
Version:
ucanto transport
89 lines • 2.1 kB
JSON
{
"name": "@ucanto/transport",
"description": "ucanto transport",
"version": "9.2.0",
"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.3.1",
"@ucanto/interface": "^10.2.0"
},
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^10.0.1",
"@web-std/fetch": "^4.1.0",
"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",
"typesVersions": {
"*": {
"*": [
"dist/src/*"
],
"dist/src/lib.d.ts": [
"dist/src/lib.d.ts"
]
}
},
"types": "./dist/src/lib.d.ts",
"main": "./src/lib.js",
"exports": {
".": {
"types": "./dist/src/lib.d.ts",
"import": "./src/lib.js"
},
"./car": {
"types": "./dist/src/car.d.ts",
"import": "./src/car.js"
},
"./codec": {
"types": "./dist/src/codec.d.ts",
"import": "./src/codec.js"
},
"./http": {
"types": "./dist/src/http.d.ts",
"import": "./src/http.js"
},
"./legacy": {
"types": "./dist/src/legacy.d.ts",
"import": "./src/legacy.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"
}
}