-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.75 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"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"
]
}