-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
99 lines (99 loc) · 2.79 KB
/
package.json
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
97
98
99
{
"name": "fhevmjs",
"version": "0.7.0-0",
"description": "fhEVM SDK for blockchain using TFHE",
"main": "lib/node.js",
"types": "lib/node/node.d.ts",
"browser": "lib/web.js",
"type": "module",
"bin": {
"fhevm": "bin/fhevm.js"
},
"exports": {
".": {
"import": "./lib/web.js",
"require": "./lib/node.cjs"
},
"./web": {
"import": "./lib/web.js",
"require": "./lib/web.js"
},
"./bundle": {
"import": "./bundle.js",
"require": "./bundle.js"
},
"./node": {
"require": "./lib/node.cjs"
}
},
"engines": {
"node": ">=20"
},
"scripts": {
"lint": "eslint src/",
"generateKeys": "./generateKeys.js",
"build": "npm run build:lib && npm run build:bundle",
"build:lib": "rollup -c config/rollup.config.js",
"build:bundle": "vite build --config config/vite.config.js",
"test": "jest --colors --passWithNoTests --coverage",
"test:watch": "jest --colors --passWithNoTests --watch",
"prettier": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
"prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/zama-ai/fhevmjs.git"
},
"author": "",
"license": "BSD-3-Clause-Clear",
"bugs": {
"url": "https://github.com/zama-ai/fhevmjs/issues"
},
"homepage": "https://github.com/zama-ai/fhevmjs#readme",
"dependencies": {
"bigint-buffer": "^1.1.5",
"commander": "^11.0.0",
"ethers": "^6.13.4",
"fetch-mock": "^11.1.3",
"keccak": "^3.0.4",
"node-tfhe": "^0.10.0",
"node-tkms": "^0.9.0",
"tfhe": "^0.9.1",
"tkms": "^0.9.0",
"wasm-feature-detect": "^1.8.0"
},
"devDependencies": {
"@fetch-mock/jest": "^0.1.0",
"@jest/globals": "^29.7.0",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-typescript": "^11.1.1",
"@rollup/plugin-url": "^8.0.2",
"@rollup/plugin-wasm": "^6.1.3",
"@surma/rollup-plugin-off-main-thread": "^2.2.3",
"@types/jest": "^29.5.1",
"@types/keccak": "^3.0.5",
"@types/node-fetch": "^2.6.11",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"jest": "^29.5.0",
"jest-raw-loader": "^1.0.1",
"path-browserify": "^1.0.1",
"prettier": "^3.0.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-polyfill-node": "^0.12.0",
"stream-browserify": "^3.0.0",
"to-array-buffer": "^3.2.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"tsc-alias": "^1.8.6",
"tslib": "^2.5.3",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-static-copy": "^2.2.0"
}
}