@dfinity/identity
Version:
JavaScript and TypeScript library to manage identity with the Internet Computer
60 lines • 1.65 kB
JSON
{
"name": "@dfinity/identity",
"version": "3.2.6",
"author": "DFINITY Stiftung <sdk@dfinity.org>",
"license": "Apache-2.0",
"description": "JavaScript and TypeScript library to manage identity with the Internet Computer",
"homepage": "https://js.icp.build/core/v3.2/libs/identity",
"repository": {
"type": "git",
"url": "https://github.com/dfinity/icp-js-core.git",
"directory": "packages/identity"
},
"bugs": {
"url": "https://github.com/dfinity/icp-js-core/issues"
},
"keywords": [
"internet computer",
"ic",
"dfinity",
"canister",
"webauthn",
"identity",
"principal",
"authentication",
"dfx",
"motoko",
"javascript",
"typescript",
"blockchain",
"crypto",
"distributed",
"api"
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"default": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
"types": "./lib/esm/index.d.ts",
"import": "./lib/esm/index.js",
"node": "./lib/cjs/index.js",
"require": "./lib/cjs/index.js",
"default": "./lib/esm/index.js"
},
"peerDependencies": {
"@noble/curves": "^1.9.2",
"@noble/hashes": "^1.8.0",
"@dfinity/agent": "3.2.6",
"@dfinity/candid": "3.2.6",
"@dfinity/principal": "3.2.6"
},
"scripts": {
"build": "tsc -b && tsc -p tsconfig.cjs.json && cp src/package.json lib/esm/package.json",
"build:watch": "tsc -b --watch",
"bundle": "esbuild --bundle src/index.ts --outfile=dist/index.js --platform=browser",
"attw": "attw --pack .",
"test": "jest",
"test:coverage": "jest --collectCoverage"
}
}