UNPKG

iso-did

Version:

Isomorphic did core and did key tooling

135 lines 2.97 kB
{ "name": "iso-did", "type": "module", "version": "2.0.1", "description": "Isomorphic did core and did key tooling", "author": "Hugo Dias <hugomrdias@gmail.com> (hugodias.me)", "license": "MIT", "homepage": "https://github.com/hugomrdias/iso-repo/tree/main/packages/iso-did", "repository": { "url": "hugomrdias/iso-repo", "directory": "packages/iso-did" }, "keywords": [ "did", "did:key", "did-core" ], "exports": { ".": { "types": "./dist/src/index.d.ts", "import": "./src/index.js" }, "./key": { "types": "./dist/src/key.d.ts", "import": "./src/key.js" }, "./web": { "types": "./dist/src/web.d.ts", "import": "./src/web.js" }, "./fission": { "types": "./dist/src/fission.d.ts", "import": "./src/fission.js" }, "./core": { "types": "./dist/src/core.d.ts", "import": "./src/core.js" }, "./plc": { "types": "./dist/src/plc.d.ts", "import": "./src/plc.js" }, "./atp": { "types": "./dist/src/atp.d.ts", "import": "./src/atp.js" }, "./pkh": { "types": "./dist/src/pkh.d.ts", "import": "./src/pkh.js" }, "./types": { "types": "./dist/src/types.d.ts" } }, "main": "src/index.js", "types": "dist/src/index.d.ts", "typesVersions": { "*": { ".": [ "dist/src/index" ], "core": [ "dist/src/core" ], "key": [ "dist/src/key" ], "web": [ "dist/src/web" ], "fission": [ "dist/src/fission" ], "plc": [ "dist/src/plc" ], "atp": [ "dist/src/atp" ], "pkh": [ "dist/src/pkh" ], "types": [ "dist/src/types" ] } }, "files": [ "src", "dist/src/*.d.ts", "dist/src/*.d.ts.map" ], "dependencies": { "did-resolver": "^4.1.0", "multiformats": "^13.3.7", "p-race": "^3.1.0", "iso-base": "^4.1.0", "iso-web": "^1.1.1" }, "devDependencies": { "@noble/hashes": "^1.7.1", "@types/assert": "^1.5.11", "@types/mocha": "^10.0.10", "@types/node": "^24.1.0", "assert": "^2.1.0", "mocha": "^11.7.1", "msw": "2.4.3", "playwright-test": "^14.1.11", "type-fest": "^4.41.0", "typescript": "5.8.2" }, "publishConfig": { "provenance": true }, "depcheck": { "specials": [ "bin" ], "ignores": [ "@types/*", "assert", "type-fest" ] }, "msw": { "workerDirectory": "test/mocks" }, "scripts": { "lint": "tsc --build && biome check --no-errors-on-unmatched --files-ignore-unknown=true", "test": "tsc --build && pnpm run test:node && pnpm run test:browser", "test:node": "mocha 'test/**/!(*.browser).test.js'", "update-msw": "msw init test/mocks/ --save", "test:browser": "playwright-test 'test/**/!(*.node).test.js' --assets test/mocks" } }