@dfinity/principal
Version:
JavaScript and TypeScript library to work with Internet Computer principals
59 lines • 1.56 kB
JSON
{
"name": "@dfinity/principal",
"version": "3.4.0",
"author": "DFINITY Stiftung <sdk@dfinity.org>",
"license": "Apache-2.0",
"description": "JavaScript and TypeScript library to work with Internet Computer principals",
"homepage": "https://js.icp.build/core/v3.2/libs/principal",
"repository": {
"type": "git",
"url": "https://github.com/dfinity/icp-js-core.git",
"directory": "packages/principal"
},
"bugs": {
"url": "https://github.com/dfinity/icp-js-core/issues"
},
"keywords": [
"internet computer",
"ic",
"dfinity",
"canister",
"webauthn",
"identity",
"principal",
"dfx",
"candid",
"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"
},
"devDependencies": {
"@dfinity/utils": "^3.2.0"
},
"dependencies": {
"@noble/hashes": "^1.8.0"
},
"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"
}
}