-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 2.08 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 2.08 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
{
"name": "@effectai/payment",
"private": true,
"type": "module",
"scripts": {
"export:vkey": "node --experimental-strip-types scripts/verification-to-rust.cjs circuits/build/PaymentBatch_verification.json ./program/src",
"generate:constants": "node --experimental-strip-types scripts/generate-constants.ts",
"generate:circuit": "node --experimental-strip-types scripts/generate-circuit.ts",
"build:circuits": "node --experimental-strip-types scripts/build-circuits.ts",
"build": "pnpm run generate:clients && pnpm run generate:constants && pnpm run compile:ts",
"build:circuit": "pnpm run generate:circuit && pnpm run generate:constants && pnpm run compile:ts && pnpm run build:circuits",
"bundle:browser": "tsup clients/js/browser.ts --config ../../tsup.config.browser.ts",
"bundle:node": "tsup clients/js/node.ts --config ../../tsup.config.package.ts",
"compile:ts": "pnpm run bundle:node && pnpm run bundle:browser",
"generate:clients": "node --experimental-strip-types ../../tools/scripts/solana/generate-clients.ts payment"
},
"main": "dist/index.cjs",
"exports": {
".": {
"browser": {
"import": "./dist/browser.browser.mjs",
"require": "./dist/browser.browser.cjs"
},
"import": "./dist/node.js",
"require": "./dist/node.cjs",
"types": "./dist/index.d.ts"
}
},
"dependencies": {
"@solana/kit": "^2.1.1",
"@effectai/protobufs": "workspace:*",
"@effectai/utils": "workspace:*",
"@solana/web3.js": "^1.98.2",
"@coral-xyz/anchor": "^0.29.0",
"big-integer": "^1.6.51",
"circom_tester": "^0.0.14",
"circomlib": "^2.0.5",
"circomlibjs": "^0.1.6",
"ffjavascript": "^0.3.1",
"snarkjs": "^0.7.5",
"bs58": "^6.0.0",
"dotenv": "^16.4.5"
},
"devDependencies": {
"@types/circomlibjs": "^0.1.6",
"@types/snarkjs": "^0.7.9",
"neon-cli": "^0.10.1",
"@types/node": "^20.11.7",
"@effectai/protobufs": "workspace:*",
"codama": "^1.3.0",
"@codama/nodes-from-anchor": "^1.1.14",
"@codama/renderers-js": "^1.2.13",
"litesvm": "^0.2.0"
}
}