@digitalcredentials/keypair
Version:
Cryptographic key pair data model in Javascript/Typescript, for Node.js, browsers, and React Native. Useful for Verifiable Credentials, DIDs (Decentralized Identifiers), and other uses of Data Integrity.
81 lines (80 loc) • 2.14 kB
JSON
{
"name": "@digitalcredentials/keypair",
"description": "Cryptographic key pair data model in Javascript/Typescript, for Node.js, browsers, and React Native. Useful for Verifiable Credentials, DIDs (Decentralized Identifiers), and other uses of Data Integrity.",
"version": "3.0.0",
"scripts": {
"build": "npm run clear && tsc -d",
"clear": "rimraf dist/*",
"lint": "ts-standard --fix --project tsconfig.spec.json",
"prepare": "npm run build",
"rebuild": "npm run clear && npm run build",
"test": "npm run lint && npm run test-node",
"test-node": "cross-env NODE_ENV=test TS_NODE_PROJECT=tsconfig.spec.json TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register --project tsconfig.spec.json 'test/*.ts'"
},
"files": [
"dist",
"README.md",
"LICENSE.md",
"CHANGELOG.md"
],
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"dependencies": {
"@digitalcredentials/ssi": "^5.2.0"
},
"devDependencies": {
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.7",
"chai": "^4.3.7",
"cross-env": "^7.0.3",
"mocha": "^10.2.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.1",
"ts-standard": "^12.0.2",
"typescript": "5.2.2"
},
"publishConfig": {
"access": "public"
},
"mocha": {
"require": "ts-node/register",
"extension": [
"ts"
],
"spec": "test/**/*.ts"
},
"ts-standard": {
"ignore": [
"dist"
]
},
"keywords": [
"dcc",
"react native",
"keys",
"key pair",
"cryptography"
],
"engines": {
"node": ">=18.0"
},
"author": {
"name": "Digital Credentials Consortium",
"url": "https://github.com/digitalcredentials/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/digitalcredentials/keypair"
},
"homepage": "https://github.com/digitalcredentials/keypair",
"bugs": "https://github.com/digitalcredentials/keypair/issues"
}