UNPKG

@ucanto/validator

Version:
77 lines 1.89 kB
{ "name": "@ucanto/validator", "description": "UCAN RPC validators", "version": "10.0.0", "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/car": "^5.4.0", "@ipld/dag-cbor": "^9.2.2", "multiformats": "^13.3.1", "@ucanto/core": "^10.4.0", "@ucanto/interface": "^11.0.0" }, "devDependencies": { "@types/chai": "^4.3.3", "@types/chai-subset": "^1.3.3", "@types/mocha": "^10.0.1", "c8": "^7.13.0", "chai": "^4.3.6", "chai-subset": "^1.6.0", "mocha": "^10.1.0", "nyc": "^15.1.0", "playwright-test": "^8.2.0", "typescript": "^5.0.4", "@ucanto/client": "^9.0.1", "@ucanto/principal": "^9.0.2" }, "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", "test:only": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha --bail", "coverage": "c8 --reporter=html mocha test/**/*.spec.js", "check": "tsc --build", "build": "tsc --build" } }