-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 4.19 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 4.19 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@icp-sdk/vetkeys",
"version": "0.4.0",
"packageManager": "pnpm@10.10.0",
"author": "DFINITY Stiftung",
"description": "JavaScript and TypeScript library to use Internet Computer vetKeys",
"homepage": "https://internetcomputer.org/docs/building-apps/network-features/vetkeys/introduction",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/dfinity/vetkeys.git",
"directory": "frontend/ic_vetkeys"
},
"bugs": {
"url": "https://github.com/dfinity/vetkeys/issues"
},
"keywords": [
"internet computer",
"internet-computer",
"ic",
"icp",
"dfinity",
"vetkeys",
"encryption",
"decryption",
"threshold",
"motoko",
"rust",
"javascript",
"typescript",
"blockchain",
"crypto",
"distributed",
"api",
"bls",
"bls12-381",
"ibe",
"signature",
"signing"
],
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/lib/index.es.js",
"types": "./dist/types/index.d.ts"
},
"./key_manager": {
"import": "./dist/lib/key_manager.es.js",
"types": "./dist/types/key_manager/index.d.ts"
},
"./encrypted_maps": {
"import": "./dist/lib/encrypted_maps.es.js",
"types": "./dist/types/encrypted_maps/index.d.ts"
}
},
"module": "dist/lib/index.es.js",
"typings": "dist/types/index.d.ts",
"dependencies": {
"@icp-sdk/core": "^5.4.0",
"idb-keyval": "^6.2.1"
},
"devDependencies": {
"@noble/curves": "^1.9.7",
"@noble/hashes": "^1.8.0",
"@eslint/js": "^9.22.0",
"@types/node": "^24.0.4",
"@vitest/coverage-v8": "^3.0.5",
"eslint": "^9.22",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.2.6",
"fake-indexeddb": "^6.0.0",
"prettier": "^3.5.3",
"typedoc": "^0.28.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.59.0",
"vite": "^7.0.8",
"vite-plugin-dts": "^4.5.3",
"vitest": "^3.2.6"
},
"scripts": {
"build": "tsc && vite build",
"prepare": "pnpm run build",
"coverage": "pnpm run test:deploy_all && CANISTER_ID_IC_VETKEYS_MANAGER_CANISTER=$(cd $(git rev-parse --show-toplevel)/backend/rs/canisters && icp canister status ic_vetkeys_manager_canister -e local --id-only) CANISTER_ID_IC_VETKEYS_ENCRYPTED_MAPS_CANISTER=$(cd $(git rev-parse --show-toplevel)/backend/rs/canisters && icp canister status ic_vetkeys_encrypted_maps_canister -e local --id-only) vitest run --coverage",
"lint": "eslint",
"make:docs": "mkdir -p $(git rev-parse --show-toplevel)/docs/key_manager && mkdir -p $(git rev-parse --show-toplevel)/docs/encrypted_maps && typedoc --out $(git rev-parse --show-toplevel)/docs",
"prettier": "prettier --write .",
"prettier-check": "prettier --check .",
"test_utils": "vitest utils",
"test": "pnpm run test:deploy_all && CANISTER_ID_IC_VETKEYS_MANAGER_CANISTER=$(cd $(git rev-parse --show-toplevel)/backend/rs/canisters && icp canister status ic_vetkeys_manager_canister -e local --id-only) CANISTER_ID_IC_VETKEYS_ENCRYPTED_MAPS_CANISTER=$(cd $(git rev-parse --show-toplevel)/backend/rs/canisters && icp canister status ic_vetkeys_encrypted_maps_canister -e local --id-only) vitest run --sequence.concurrent",
"test:deploy_all": "cd $(git rev-parse --show-toplevel)/backend/rs/canisters && (icp network stop || true) && icp network start -d && icp deploy ic_vetkeys_manager_canister -e local && icp deploy ic_vetkeys_encrypted_maps_canister -e local",
"test:deploy_key_manager_canister": "cd $(git rev-parse --show-toplevel)/backend/rs/canisters && (icp network stop || true) && icp network start -d && icp deploy ic_vetkeys_manager_canister -e local",
"test:deploy_encrypted_maps_canister": "cd $(git rev-parse --show-toplevel)/backend/rs/canisters && (icp network stop || true) && icp network start -d && icp deploy ic_vetkeys_encrypted_maps_canister -e local"
}
}