identity-based-encryption-bn254
Version:

67 lines (66 loc) • 1.79 kB
JSON
{
"name": "identity-based-encryption-bn254",
"version": "0.0.6",
"source": "src/index.ts",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/cjs/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/esm/index.mjs"
}
}
},
"files": [
"dist",
"src",
"LICENSE-MIT",
"README.md"
],
"type": "module",
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
"test": "jest --verbose ./test/**.test.ts",
"build:esm": "esbuild src/index.ts --bundle --platform=browser --format=esm --outdir=dist/esm --sourcemap --target=es2020 --out-extension:.js=.mjs",
"build:cjs": "esbuild src/index.ts --bundle --platform=node --format=cjs --outdir=dist/cjs --sourcemap --target=es2020 --out-extension:.js=.cjs",
"build:types": "tsc --emitDeclarationOnly --outDir dist",
"lint": "eslint",
"lint:fix": "eslint ./{src,test}/*.ts --fix",
"dev": "tsc --watch"
},
"devDependencies": {
"@eslint/js": "^9.26.0",
"@types/jest": "^29.5.14",
"esbuild": "^0.25.4",
"eslint": "^9.26.0",
"jest": "^29.7.0",
"shamir-secret-sharing-bn254": "^0.0.6",
"ts-jest": "^29.3.2",
"ts-node": "^10.9.2",
"typescript": "^5.2.2",
"typescript-eslint": "^8.32.0"
},
"dependencies": {
"@kevincharm/noble-bn254-drand": "^0.0.1",
"@noble/curves": "1.6.0",
"@noble/hashes": "^1.8.0",
"asn1js": "^3.0.6"
},
"author": "Randamu",
"license": "MIT",
"keywords": [
"identity",
"based",
"encryption",
"bn254",
"noble",
"curves",
"bls"
]
}