Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 6.2 KB
/
Copy pathpackage.json
File metadata and controls
143 lines (143 loc) · 6.2 KB
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
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "@bancor/contracts-v3",
"version": "3.0.0",
"description": "The solidity version of the Bancor smart contracts is composed of many different components that work together to create the Bancor Network deployment.",
"repository": {
"type": "git",
"url": "git+https://github.com/bancorprotocol/contracts-v3.git"
},
"homepage": "https://github.com/bancorprotocol/contracts-v3#readme",
"bugs": {
"url": "https://github.com/bancorprotocol/contracts-v3/issues"
},
"author": "Bancor Team",
"license": "SEE LICENSE IN LICENSE",
"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": "TEST_FORK=1 ./deployments/run-testnet.sh HARDHAT_NETWORK=tenderly NODE_OPTIONS=--no-experimental-strip-types 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:mainnet": "HARDHAT_NETWORK=mainnet hardhat deploy",
"deploy:rinkeby": "HARDHAT_NETWORK=rinkeby hardhat deploy",
"deploy:testnet": "./deployments/run-testnet.sh 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:testnet": "./deployments/run-testnet.sh yarn run:tenderly deployments/setup-testnet.ts",
"run:testnet": "./deployments/run-testnet.sh yarn run:tenderly",
"run:mainnet": "HARDHAT_NETWORK=mainnet hardhat run",
"run:tenderly": "HARDHAT_NETWORK=tenderly hardhat run",
"pools:detect:mainnet": "yarn run:mainnet scripts/find-pending-pools.ts",
"pools:detect:testnet": "yarn run:tenderly scripts/find-pending-pools.ts",
"pools:enable:mainnet": "ENABLE_POOLS=1 yarn run:mainnet scripts/find-pending-pools.ts",
"pools:enable:testnet": "ENABLE_POOLS=1 yarn run:tenderly scripts/find-pending-pools.ts",
"dev": "hardhat node --no-deploy",
"profile": "PROFILE=1 yarn test",
"watch": "hardhat watch test",
"size": "yarn rebuild && hardhat size-contracts",
"flatten": "hardhat flatten",
"lint": "yarn lint:sol && yarn lint:ts",
"lint:sol": "solhint 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",
"snyk-protect": "snyk-protect",
"prepare": "yarn clean && yarn build && yarn snyk-protect && 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",
"@bancor/contracts-solidity": "0.7.15",
"@bancor/token-governance": "^0.1.8",
"@metamask/eth-sig-util": "^5.0.2",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@0.3.0-beta.13",
"@nomiclabs/hardhat-etherscan": "^3.1.6",
"@nomiclabs/hardhat-solhint": "^3.0.1",
"@nomiclabs/hardhat-waffle": "2.0.4",
"@openzeppelin/contracts": "4.5.0",
"@openzeppelin/contracts-upgradeable": "4.5.2",
"@sentry/hub": "^7.56.0",
"@sentry/node": "^7.56.0",
"@sentry/types": "^7.56.0",
"@sentry/utils": "^7.56.0",
"@snyk/protect": "^1.947.0",
"@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",
"@uniswap/swap-router-contracts": "^1.3.0",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"@uniswap/v3-periphery": "^1.4.3",
"adm-zip": "^0.5.10",
"chai": "^4.3.7",
"chai-arrays": "^2.2.0",
"coingecko-api-v3": "^0.0.13",
"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-storage-layout": "^0.1.7",
"hardhat-watcher": "^2.5.0",
"humanize-duration": "^3.28.0",
"lodash": "^4.17.21",
"merkletreejs": "^0.2.31",
"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": {
"solhint/@solidity-parser/parser": "0.16",
"solidity-coverage/@solidity-parser/parser": "0.16",
"@bancor/contracts-solidity/hardhat": "2.15.0",
"glob/path-scurry/lru-cache": "11.0.1",
"@types/minimatch": "5.1.2"
},
"snyk": true
}