UNPKG

@blockchain-lab-um/masca

Version:

Snap for managing VCs and VPs in MetaMask

132 lines 4.46 kB
{ "name": "@blockchain-lab-um/masca", "version": "1.4.0", "description": "Snap for managing VCs and VPs in MetaMask", "keywords": [ "MetaMask", "Snaps", "SSI", "VC", "Verifiable Credential", "VP", "Verifiable Presentation", "DID:ETHR", "Veramo" ], "homepage": "https://github.com/blockchain-lab-um/Masca", "repository": { "type": "git", "url": "https://github.com/blockchain-lab-um/masca.git" }, "license": "(Apache-2.0 AND MIT)", "author": { "name": "Blockchain Lab:UM", "email": "blockchain-lab@um.si", "url": "https://blockchain-lab.um.si" }, "main": "dist/snap.js", "files": [ "dist/", "files/", "snap.manifest.json", "package.json", "images", "README.md", "CHANGELOG.md" ], "dependencies": { "@0xpolygonid/js-sdk": "1.12.0", "@blockchain-lab-um/did-provider-key": "1.1.0", "@blockchain-lab-um/extended-verification": "0.3.0", "@blockchain-lab-um/masca-types": "1.4.0", "@blockchain-lab-um/oidc-client-plugin": "0.4.0", "@blockchain-lab-um/oidc-types": "0.1.0", "@blockchain-lab-um/utils": "1.4.0", "@blockchain-lab-um/veramo-datamanager": "1.1.0", "@ceramicnetwork/http-client": "2.27.0", "@glazed/did-datastore": "0.3.2", "@iden3/js-iden3-core": "1.3.1", "@iden3/js-jwz": "1.5.0", "@iden3/js-merkletree": "1.2.0", "@metamask/key-tree": "^9.0.0", "@metamask/providers": "17.1.2", "@metamask/snaps-sdk": "6.9.0", "@metamask/utils": "9.3.0", "@sd-jwt/core": "^0.7.2", "@sd-jwt/crypto-nodejs": "^0.7.2", "@sd-jwt/sd-jwt-vc": "^0.8.0", "@sd-jwt/types": "^0.7.2", "@sphereon/pex": "3.3.3", "@veramo/core": "6.0.0", "@veramo/credential-eip712": "6.0.0", "@veramo/credential-ld": "6.0.0", "@veramo/credential-status": "6.0.0", "@veramo/credential-w3c": "6.0.0", "@veramo/did-manager": "6.0.0", "@veramo/did-provider-ethr": "6.0.0", "@veramo/did-provider-jwk": "6.0.0", "@veramo/did-provider-pkh": "6.0.0", "@veramo/did-resolver": "6.0.0", "@veramo/key-manager": "6.0.0", "@veramo/kms-local": "6.0.0", "@veramo/utils": "6.0.0", "did-jwt-vc": "3.2.13", "did-resolver": "4.1.0", "did-session": "2.0.1", "elliptic": "^6.5.5", "ens-did-resolver": "^1.0.4", "ethereum-cryptography": "^2.1.3", "ethers": "6.11.1", "ethr-did-resolver": "10.1.5", "intl": "^1.2.5", "jsonpath": "^1.1.1", "lodash.clonedeep": "^4.5.0", "multiformats": "^13.1.0", "qs": "^6.11.2", "viem": "^2.9.23" }, "devDependencies": { "@ceramicnetwork/streamid": "2.17.0", "@metamask/snaps-cli": "6.6.0", "@metamask/snaps-utils": "8.4.1", "@sphereon/ssi-types": "0.22.0", "@types/elliptic": "^6.4.18", "@types/jsonpath": "^0.2.4", "@types/lodash.clonedeep": "^4.5.9", "@types/qs": "^6.9.12", "@types/react": "18.2.14", "@types/react-dom": "18.2.4", "@vitest/coverage-v8": "1.6.0", "desm": "^1.3.1", "esbuild": "0.21.1", "jest-extended": "^4.0.2", "jose": "^5.2.2", "node-stdlib-browser": "^1.2.0", "vite": "^5.2.11", "vite-tsconfig-paths": "^4.3.2", "vitest": "1.6.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "scripts": { "build": "pnpm mm-snap --version && pnpm concurrently -c \"auto\" --names \"esbuild,tsc\" \"pnpm build:main\" \"pnpm build:type-check\"", "build:esbuild": "node build.js", "build:main": "pnpm build:esbuild && pnpm bundle:postprocess && pnpm bundle:eval && pnpm bundle:manifest", "build:type-check": "tsc --noEmit --project tsconfig.build.json", "bundle:eval": "mm-snap eval -i dist/snap.js", "bundle:manifest": "mm-snap manifest --fix", "bundle:postprocess": "node post-process.js", "clean": "rimraf dist coverage", "coverage": "pnpm run test --coverage", "lint": "biome check .", "lint:fix": "biome check --apply .", "serve": "mm-snap serve", "start": "pnpm build && pnpm serve", "test": "cross-env IS_TESTING=true cross-env NODE_NO_WARNINGS=1 vitest", "test:ci": "pnpm run test", "test:cron": "cross-env IS_TESTING=true cross-env CRON=true cross-env NODE_NO_WARNINGS=1 vitest", "test:debug": "cross-env IS_TESTING=true cross-env NODE_NO_WARNINGS=1 vitest --inspect-brk --pool threads --poolOptions.threads.singleThread --poolOptions.threads.isolate false" } }