-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
87 lines (87 loc) · 2.91 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
{
"name": "@0glabs/0g-serving-broker",
"version": "0.1.0",
"description": "TS SDK for 0G Compute Network",
"main": "./lib.commonjs/index.js",
"files": [
"types",
"lib.commonjs",
"lib.esm",
"wasm"
],
"exports": {
"require": "./lib.commonjs/index.js",
"import": "./lib.esm/index.mjs"
},
"module": "./lib.esm/index.mjs",
"types": "./lib.esm/index.d.ts",
"packageManager": "[email protected]",
"browser": {},
"scripts": {
"format": "prettier --write src.ts/**/*.ts src.ts/*.ts example/**/*.ts",
"clean": "rm -rf dist lib.esm lib.commonjs types",
"build": "npm run clean && tsc -b tsconfig.commonjs.json tsconfig.types.json && npx rollup -c rollup.config.mjs",
"gen-contract-type": "typechain --target ethers-v6 --node16-modules --out-dir src.ts/contract/serving '../0g-serving-broker/api/libs/0g-serving-contract/artifacts/contracts/Serving.sol/Serving.json'",
"gen-doc": "npx typedoc --tsconfig tsconfig.esm.json",
"test": "mocha -r ts-node/register 'src.ts/**/*.test.ts'"
},
"keywords": [],
"author": "0G Labs",
"license": "ISC",
"devDependencies": {
"@types/chai": "^4.3.7",
"@types/mocha": "^10.0.1",
"chai": "^4.3.7",
"jest": "^29.6.4",
"js-sha3": "^0.9.1",
"mocha": "^10.2.0",
"rollup": "^3.29.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typechain": "^8.3.1",
"typedoc": "^0.26.10",
"typescript": "^5.6.2",
"uglify-js": "^3.17.4",
"rollup-plugin-dts": "^6.1.1"
},
"dependencies": {
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-typescript": "^12.1.1",
"@typechain/ethers-v6": "^0.5.0",
"@types/brotli": "^1.3.4",
"@types/circomlibjs": "^0.1.6",
"@types/crypto-js": "^4.2.2",
"@types/jest": "^29.5.4",
"@types/node": "^20.5.9",
"brotli": "^1.3.3",
"buffer": "^6.0.3",
"circomlibjs": "^0.1.6",
"crypto-js": "^4.2.0",
"open-jsonrpc-provider": "^0.2.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"sinon": "^19.0.2"
},
"peerDependencies": {
"@types/circomlibjs": "^0.1.6",
"@types/crypto-js": "^4.2.2",
"circomlibjs": "^0.1.6",
"crypto-js": "^4.2.0",
"ethers": "6.13.1"
},
"directories": {
"example": "examples",
"test": "tests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/0glabs/0g-serving-user-broker.git"
},
"bugs": {
"url": "https://github.com/0glabs/0g-serving-user-broker/issues"
},
"homepage": "https://github.com/0glabs/0g-serving-user-broker#readme"
}