-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
58 lines (58 loc) · 2.05 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
{
"name": "@hzhu/eth-balances",
"version": "0.1.0",
"description": "A library to get ERC-20 token balances on EVM blockchains using the Multicall smart contract",
"keywords": [
"evm",
"erc-20",
"ethereum",
"blockchains",
"token balance"
],
"author": "henryzhu.eth",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hzhu/eth-balances"
},
"bugs": {
"url": "https://github.com/hzhu/eth-balances/issues"
},
"homepage": "https://github.com/hzhu/eth-balances#-eth-balances-",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src"
],
"engines": {
"node": ">=18"
},
"scripts": {
"start": "npm run build && cp ./dist ./public/dist",
"build": "npm run build:cjs && npm run build:esm && npm run types",
"build:esm": "esbuild src/index.ts --bundle --minify --format=esm --outfile=dist/index.esm.js",
"build:cjs": "esbuild src/index.ts --bundle --minify --platform=node --target=node18 --outfile=dist/index.cjs.js",
"build:dev": "npm run build:cjs:dev && npm run build:esm:dev && npm run types",
"build:esm:dev": "esbuild src/index.ts --bundle --format=esm --outfile=dist/index.esm.js",
"build:cjs:dev": "esbuild src/index.ts --bundle --platform=node --target=node18 --outfile=dist/index.cjs.js",
"types": "rm -rf ./dist/index.d.ts && tsc --emitDeclarationOnly --outDir ./dist",
"web:example": "npm run clean && npm run build:dev && cp ./dist/index.esm.js ./examples/web && http-server ./examples/web --port 8000 -o",
"node:example": "npm run clean && npm run build:dev && cp ./dist/index.cjs.js ./examples/node && node ./examples/node/index.js",
"clean": "rm -rf dist",
"test": "vitest --coverage"
},
"peerDependencies": {
"ethers": "^6.4.0"
},
"devDependencies": {
"@openzeppelin/contracts": "^4.9.2",
"@vitest/coverage-v8": "^0.33.0",
"esbuild": "^0.18.11",
"http-server": "^14.1.1",
"typescript": "^5.1.6",
"vitest": "^0.33.0"
}
}