forked from SetProtocol/set-protocol-v2
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
184 lines (184 loc) · 6.26 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"name": "@indexcoop/index-protocol",
"version": "1.11.0",
"publishConfig": {
"access": "public"
},
"description": "",
"exports": {
"./tasks": {
"import": "./dist/esm/tasks/index.js",
"require": "./dist/tasks/index.js"
},
"./typechain": {
"import": "./dist/esm/typechain/index.js",
"require": "./dist/typechain/index.js"
},
"./utils/test": {
"import": "./dist/esm/utils/test/index.js",
"require": "./dist/utils/test/index.js"
},
"./utils/common": {
"import": "./dist/esm/utils/common/index.js",
"require": "./dist/utils/common/index.js"
},
"./utils/contracts": {
"import": "./dist/esm/utils/contracts/index.js",
"require": "./dist/utils/contracts/index.js"
},
"./utils/deploys": {
"import": "./dist/esm/utils/deploys/index.js",
"require": "./dist/utils/deploys/index.js"
},
"./utils/tasks": {
"import": "./dist/esm/utils/tasks/index.js",
"require": "./dist/utils/tasks/index.js"
}
},
"files": [
"artifacts",
"dist",
"contracts",
"external",
"utils",
"scripts",
"typechain",
"tsconfig.json",
"hardhat.config.ts"
],
"scripts": {
"build": "yarn clean && yarn compile && yarn build:ts:latest",
"build:npm:latest": "yarn clean && yarn compile:latest && yarn build:ts:latest",
"build:npm:hardhat": "yarn clean && yarn compile && yarn build:ts:hardhat",
"build:ts:latest": "yarn typechain && yarn transpile:dist:latest",
"build:ts:hardhat": "yarn typechain && yarn transpile:dist:hardhat",
"chain": "npx hardhat node",
"chain:fork": "FORK=true npx hardhat node",
"clean": "./scripts/clean.sh",
"compile": "npx hardhat compile && npx hardhat index:compile:all",
"compile:latest": "SKIP_ABI_GAS_MODS=true npx hardhat compile && npx hardhat index:compile:all",
"coverage": "yarn clean && yarn build && yarn cov:command",
"cov:command": "COVERAGE=true node ./node_modules/.bin/hardhat coverage",
"etherscan:verify": "hardhat --network kovan etherscan-verify --solc-input --license 'None'",
"flatten": "npx waffle flatten",
"lint": "yarn run lint-sol && yarn run lint-ts",
"lint-sol": "solhint 'contracts/**/*.sol'",
"lint-ts": "eslint -c .eslintrc.js --ext .ts test utils tasks --fix",
"precommit": "lint-staged",
"prepare": "yarn build",
"prepublishOnly": "./scripts/prepublish_only.sh",
"publish:local:latest": "npm run publish",
"publish:local:hardhat": "PUBLISH_HARDHAT=true npm run publish",
"publish:ci:latest": "./scripts/release_latest.sh",
"publish:ci:hardhat": "./scripts/release_hardhat.sh",
"test": "npx hardhat test --network localhost",
"test:fork:ethereum": "FORK=true npx hardhat test",
"test:fork:arbitrum": "FORK=true FORK_NETWORK=arbitrum npx hardhat test",
"test:fork": "FORK=true npx hardhat test",
"test:fork:fast": "NO_COMPILE=true TS_NODE_TRANSPILE_ONLY=1 FORK=true npx hardhat test --no-compile",
"test:clean": "yarn clean && yarn build && yarn test",
"test:fast": "NO_COMPILE=true TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost --no-compile",
"test:fast:compile": "TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost",
"transpile": "tsc",
"transpile:dist:latest": "tsc --project tsconfig.dist.json && yarn transpile:dist:esm",
"transpile:dist:esm": "tsc -p tsconfig.dist.esm.json && echo >dist/esm/package.json \"{\\\"type\\\":\\\"module\\\"}\"",
"transpile:dist:hardhat": "tsc --project tsconfig.hardhat.json",
"typechain": "npx hardhat typechain",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/IndexCoop/index-protocol.git"
},
"author": "IndexCoop",
"license": "MIT",
"homepage": "https://indexcoop.com/",
"resolutions": {
"babel-code-frame/chalk": "4.1.0"
},
"engines": {
"yarn": ">=1.10.1"
},
"devDependencies": {
"@0x/utils": "^6.4.3",
"@chainlink/contracts-ccip": "1.2.1",
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^3.1.0",
"@semantic-release/git": "^10.0.1",
"@typechain/ethers-v5": "8.0.5",
"@typechain/hardhat": "3.1.0",
"@types/chai": "^4.2.11",
"@types/fs-extra": "^5.0.0",
"@types/lodash": "^4.14.86",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@uniswap/lib": "^4.0.1-alpha",
"chai": "^4.2.0",
"coveralls": "^3.0.1",
"dotenv": "^8.2.0",
"eslint": "^7.32.0",
"eslint-plugin-jsdoc": "^38.0.6",
"eslint-plugin-no-null": "^1.0.2",
"ethereum-waffle": "^3.4.0",
"hardhat": "^2.11.0",
"hardhat-contract-sizer": "^2.5.0",
"hardhat-deploy": "^0.11.15",
"husky": "^4.2.5",
"istanbul-combine-updated": "^0.3.0",
"lint-staged": "^10.2.11",
"lodash": "^4.17.4",
"semantic-release": "^19.0.2",
"solady": "^0.0.107",
"solc": "^0.6.10",
"solhint": "^3.1.0",
"solidity-coverage": "^0.8.3",
"ts-generator": "^0.1.1",
"ts-node": "^8.10.2",
"tslint": "^6.1.3",
"tslint-eslint-rules": "^5.3.1",
"typechain": "6.1.0",
"typescript": "^4.4.3",
"web3": "^1.2.9"
},
"dependencies": {
"@openzeppelin-upgradeable/contracts": "npm:@openzeppelin/contracts-upgradeable@4.5.2",
"@uniswap/v3-core": "1.0.1",
"@uniswap/v3-sdk": "^3.5.1",
"ethers": "^5.5.2",
"fs-extra": "^9.0.0",
"jsbi": "^3.2.5",
"module-alias": "^2.2.2",
"notional-solidity-sdk": "https://github.com/ckoopmann/notional-solidity-sdk.git#77aa2f8fd8a72b8f5865e561f2d39d4606c3740c",
"replace-in-file": "^6.1.0"
},
"peerDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.1",
"ethereum-waffle": "^3.2.1",
"hardhat": "^2.2.1"
},
"_moduleAliases": {
"@utils": "utils",
"@typechain": "typechain"
},
"husky": {
"hooks": {
"pre-commit": "yarn precommit"
}
},
"lint-staged": {
"contracts/**/*.sol": [
"yarn lint-sol --fix"
],
"test/**/*.ts": [
"yarn lint-ts --fix"
],
"utils/**/*.ts": [
"yarn lint-ts --fix"
]
}
}