forked from bancorprotocol/carbon-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
131 lines (131 loc) · 5.6 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "@bancor/carbon",
"version": "1.0.0",
"description": "Carbon v1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/bancorprotocol/carbon-contracts.git"
},
"homepage": "https://github.com/bancorprotocol/carbon-contracts#readme",
"bugs": {
"url": "https://github.com/bancorprotocol/carbon-contracts/issues"
},
"author": "Bancor",
"license": "BUSL-1.1",
"main": "dist/typechain-types/index.js",
"types": "dist/typechain-types/index.d.ts",
"files": [
"/contracts/**/*.sol",
"!/contracts/helpers",
"/artifacts",
"/typechain-types",
"/deployments/mainnet"
],
"scripts": {
"build": "hardhat compile",
"rebuild": "yarn clean && yarn build",
"test": "NODE_OPTIONS=${CI:+'--max-old-space-size=8192'} hardhat test",
"test:coverage": "yarn build && NODE_OPTIONS='--max-old-space-size=8192' hardhat coverage",
"test:coverage:nightly": "NIGHTLY=1 yarn test:coverage",
"test:ci": "CI=1 yarn test",
"test:nightly": "NIGHTLY=1 CI=1 NODE_OPTIONS='--max-old-space-size=8192' hardhat test",
"test:deploy": "yarn deploy:prepare:fork && TEST_FORK=1 ./deployments/run-fork.sh HARDHAT_NETWORK=tenderly mocha --require hardhat/register --extension ts --recursive --exit --timeout 600000 --bail --no-exit 'deploy/tests/**/*.ts'",
"test:health": "yarn test:deploy",
"export:storage": "yarn rebuild && hardhat run deployments/storage-layout.ts",
"deploy:prepare": "rm -rf ./node_modules && rm yarn.lock && yarn && yarn rebuild",
"deploy:prepare:fork": "rm -rf deployments/tenderly && cp -rf deployments/mainnet/. deployments/tenderly",
"deploy:mainnet": "HARDHAT_NETWORK=mainnet hardhat deploy",
"deploy:rinkeby": "HARDHAT_NETWORK=rinkeby hardhat deploy",
"deploy:fork": "yarn deploy:prepare:fork && HARDHAT_NETWORK=tenderly hardhat deploy",
"verify:mainnet": "HARDHAT_NETWORK=mainnet hardhat etherscan-verify --license None --force-license",
"verify:rinkeby": "HARDHAT_NETWORK=rinkeby hardhat etherscan-verify --license None --force-license",
"setup:fork": "yarn deploy:prepare:fork && ./deployments/run-fork.sh yarn run:fork deployments/setup-fork.ts",
"setup:fork:main": "FORK_NAME=Main yarn setup:fork",
"setup:fork:research": "FORK_NAME=Research FORK_RESEARCH=1 yarn setup:fork",
"setup:fork:all": "yarn setup:fork:main && yarn setup:fork:research",
"run:mainnet": "HARDHAT_NETWORK=mainnet hardhat run",
"run:fork": "HARDHAT_NETWORK=tenderly hardhat run",
"dev": "hardhat node --no-deploy",
"watch": "hardhat watch test",
"size": "yarn rebuild && hardhat size-contracts",
"flatten": "hardhat flatten",
"where": "which hardhat",
"lint": "yarn lint:sol && yarn lint:ts",
"lint:sol": "solhint --max-warnings 0 contracts/**/*.sol",
"lint:ts": "yarn eslint components deploy test utils",
"format": "NODE_OPTIONS='--max-old-space-size=8192' prettier --check --write components/**/*.ts contracts/**/*.sol deploy/**/*.ts scripts/**/*.ts test/**/*.ts test/**/*.json utils/**/*.ts --config .prettierrc",
"prepare": "yarn clean && yarn build && tsc && copyfiles -u 1 \"typechain-types/**/*.d.ts\" dist/typechain-types",
"clean": "rm -rf artifacts cache coverage typechain-types"
},
"dependencies": {
"hardhat": "2.15.0"
},
"devDependencies": {
"@anders-t/ethers-ledger": "^1.0.4",
"@metamask/eth-sig-util": "^5.0.2",
"@nomiclabs/hardhat-ethers": "npm:[email protected]",
"@nomiclabs/hardhat-etherscan": "^3.1.6",
"@nomiclabs/hardhat-solhint": "^3.0.1",
"@nomiclabs/hardhat-waffle": "2.0.4",
"@openzeppelin/contracts": "4.9.2",
"@openzeppelin/contracts-upgradeable": "4.9.2",
"@sentry/hub": "^7.56.0",
"@sentry/node": "^7.56.0",
"@sentry/types": "^7.56.0",
"@sentry/utils": "^7.56.0",
"@tenderly/hardhat-tenderly": "1.1.6",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@typechain/ethers-v5": "^11.0.0",
"@typechain/hardhat": "^6.1.5",
"@types/adm-zip": "^0.5.0",
"@types/chai": "^4.3.4",
"@types/humanize-duration": "^3.27.1",
"@types/lodash": "^4.14.191",
"@types/mocha": "^10.0.1",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"adm-zip": "^0.5.10",
"chai": "^4.3.7",
"chai-arrays": "^2.2.0",
"copyfiles": "^2.4.1",
"decimal.js": "10.4.3",
"dotenv": "^16.3.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-promise": "^6.1.1",
"ethereum-waffle": "^3.4.4",
"ethereumjs-util": "^7.1.5",
"ethers": "^5.7.2",
"glob": "^10.2.7",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-dependency-compiler": "^1.1.3",
"hardhat-deploy": "^0.11.34",
"hardhat-deploy-tenderly": "^0.2.0",
"hardhat-storage-layout": "^0.1.7",
"hardhat-watcher": "^2.5.0",
"humanize-duration": "^3.28.0",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"mocha-silent-reporter": "^1.0.0",
"module-alias": "^2.2.2",
"prettier": "^2.8.4",
"prettier-package-json": "^2.8.0",
"prettier-plugin-solidity": "^1.1.3",
"solc": "0.8.19",
"solhint": "^3.3.8",
"solidity-coverage": "^0.8.2",
"ts-node": "^10.9.1",
"typechain": "^8.1.1",
"typescript": "^5.1.3"
},
"resolutions": {
"@tenderly/hardhat-tenderly/@nomiclabs/hardhat-ethers": "npm:[email protected]",
"solhint/@solidity-parser/parser": "0.16",
"solidity-coverage/@solidity-parser/parser": "0.16"
}
}