-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
99 lines (99 loc) · 3.56 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": "@cowprotocol/contracts",
"version": "2.0.0-alpha",
"license": "LGPL-3.0-or-later",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/cowprotocol/contracts.git"
},
"scripts": {
"deploy": "hardhat deploy",
"verify:etherscan": "hardhat etherscan-verify --license LGPL-3.0 --force-license",
"verify:tenderly": "hardhat tenderly",
"solvers": "hardhat solvers",
"build": "yarn build:sol && yarn build:ts",
"build:sol": "hardhat compile --force",
"build:ts": "tsc && tsc -p tsconfig.lib.esm.json && tsc -p tsconfig.lib.commonjs.json",
"lint": "yarn lint:sol:src && yarn lint:ts && yarn lint:sol:test && yarn lint:sol:script",
"lint:sol:script": "solhint --disc --max-warnings 0 --config ./script/.solhint.json 'script/**/*.sol'",
"lint:sol:src": "solhint --disc --max-warnings 0 'src/**/*.sol'",
"lint:sol:test": "solhint --disc --max-warnings 0 --config ./test/.solhint.json 'test/**/*.sol'",
"lint:ts": "eslint --max-warnings 0 .",
"test": "hardhat test",
"test:ignored-in-coverage": "MOCHA_CONF='ignored in coverage' hardhat test",
"coverage": "MOCHA_CONF='coverage' hardhat coverage",
"bench": "hardhat run bench/index.ts",
"bench:balancer": "hardhat run bench/balancer.ts",
"bench:compare": "bash bench/compare.sh",
"bench:single": "hardhat run bench/single.ts",
"bench:trace": "hardhat run bench/trace/index.ts",
"bench:uniswap": "hardhat run bench/uniswap/index.ts",
"fmt:sol": "prettier 'src/contracts/**/*.sol' -w",
"fmt:ts": "npx eslint --max-warnings 0 . --fix",
"prepack": "yarn build"
},
"peerDependencies": {
"ethers": "^5.4.0"
},
"devDependencies": {
"@0x/contract-artifacts-v2": "npm:@0x/contract-artifacts@^2.2.2",
"@gnosis.pm/safe-contracts": "^1.3.0",
"@nomicfoundation/hardhat-verify": "^2.0.1",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-waffle": "^2.0.5",
"@openzeppelin/contracts": "=3.4.0-solc-0.7",
"@safe-global/api-kit": "^1.3.0",
"@safe-global/protocol-kit": "^1.2.0",
"@safe-global/safe-core-sdk-types": "^2.2.0",
"@slack/web-api": "^6.9.0",
"@tenderly/hardhat-tenderly": "~1.1.6",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/debug": "^4.1.7",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"@types/sinon": "^10.0.13",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"axios": "^1.3.5",
"canonical-weth": "^1.4.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chalk": "^4.1.2",
"debug": "^4.3.4",
"dotenv": "^16.0.3",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"ethereum-waffle": "^3.4.4",
"ethers": "^5.7.2",
"globby": "^11.0.4",
"hardhat": "^2.13.1",
"hardhat-deploy": "^0.11.26",
"hardhat-gas-reporter": "^1.0.9",
"prettier": "^2.8.7",
"prettier-plugin-solidity": "^1.1.3",
"sinon": "^15.0.3",
"solhint": "^5.0.0",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.8.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"yargs": "^17.7.1"
},
"main": "lib/commonjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/esm/index.d.ts",
"files": [
"deployments/",
"lib/",
"networks.json",
"src/"
]
}