forked from defi-org-code/web3-candies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.43 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
{
"name": "@defi.org/web3-candies",
"version": "4.20.21",
"description": "Common utilities for web3",
"author": "danielz@orbs.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/defi-org-code/web3-candies.git"
},
"bugs": {
"url": "https://github.com/defi-org-code/web3-candies/issues"
},
"homepage": "https://github.com/defi-org-code/web3-candies#readme",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
".solhint.json",
"tsconfig.json",
"hardhat.config.ts",
"typechain-web3-bignumber",
"patches"
],
"dependencies": {
"@types/lodash": "4.x",
"@uniswap/permit2-sdk": "1.x",
"bignumber.js": "9.x",
"debug": "4.x",
"ethereum-multicall": "2.x",
"isomorphic-fetch": "3.x",
"lodash": "4.x",
"prettier": "2.x",
"prettier-plugin-solidity": "latest",
"web3": "1.x"
},
"optionalDependencies": {
"@defi.org/chai-bignumber": "3.x",
"@nomiclabs/hardhat-etherscan": "3.x",
"@nomiclabs/hardhat-web3": "2.x",
"@openzeppelin/contracts": "4.x",
"@typechain/hardhat": "6.x",
"@typechain/web3-v1": "6.x",
"@types/chai": "4.x",
"@types/fs-extra": "11.x",
"@types/mocha": "10.x",
"@types/node": "18.x",
"@types/prompts": "2.x",
"chai": "4.x",
"dotenv": "16.x",
"fs-extra": "11.x",
"hardhat": "2.x",
"hardhat-gas-reporter": "1.x",
"hardhat-spdx-license-identifier": "2.x",
"hardhat-tracer": "1.x",
"mocha": "10.x",
"patch-package": "7.x",
"prompts": "2.x",
"sinon": "^17.0.1",
"solhint": "3.x",
"ts-generator": "0.1.x",
"ts-node": "10.x",
"typechain": "8.x",
"typescript": "4.x"
},
"scripts": {
"clean": "rm -rf artifacts cache dist",
"prettier": "prettier --write '{contracts,src,test}/**/*.{ts,js,json,sol,tsx,jsx}'",
"typechain": "typechain --target=typechain-web3-bignumber --out-dir=src/abi 'src/abi/**/*.json' && hardhat typechain",
"prebuild": "npm run clean && npm run prettier && npm run typechain",
"build": "hardhat compile && solhint 'contracts/**/*.sol' && tsc && cp -r src/hardhat/types dist/hardhat/types",
"prepublishOnly": "npm run build",
"test": "DEBUG=web3-candies hardhat test --logs",
"test:all": "for n in eth bsc arb poly avax ftm glmr; do NETWORK=$n hardhat test || break; done;",
"deploy": "hardhat deploy --network $1"
},
"prettier": {
"printWidth": 180
}
}