-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
143 lines (143 loc) · 5.19 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
{
"name": "@indexcoop/index-coop-smart-contracts",
"version": "0.0.30",
"description": "IndexCoop smart contracts",
"main": "dist",
"types": "dist/types",
"files": [
"artifacts",
"dist",
"contracts",
"external",
"utils",
"scripts",
"typechain",
"tsconfig.json"
],
"scripts": {
"build": "yarn compile && yarn build:typechain",
"build:npm": "yarn compile:npm && yarn build:typechain",
"build:typechain": "yarn patch-hardhat-typechain && yarn typechain && yarn fix-typechain && yarn transpile-dist",
"chain": "npx hardhat node --no-deploy",
"chain:fork": "FORK=true yarn run chain",
"chain:fork:ethereum": "yarn run chain:fork",
"chain:fork:polygon": "NETWORK=polygon yarn run chain:fork",
"chain:fork:optimism": "NETWORK=optimism yarn run chain:fork",
"chain:fork:arbitrum": "NETWORK=arbitrum yarn run chain:fork",
"clean": "rm -rf coverage.json .coverage_cache .coverage_contracts cache coverage typechain artifacts dist",
"clean-dev-deployment": "rm -rf deployments/50-development.json",
"compile": "npx hardhat compile",
"compile:npm": "SKIP_ABI_GAS_MODS=true npx hardhat compile",
"coverage": "yarn clean && yarn build && yarn cov:command",
"cov:command": "COVERAGE=true node --max-old-space-size=4096 ./node_modules/.bin/hardhat coverage",
"fix-typechain": "node scripts/fix-typechain.js && yarn rename-extensions",
"flatten": "npx waffle flatten",
"lint": "yarn run lint-sol && yarn run lint-ts",
"lint-sol": "solhint 'contracts/**/*.sol'",
"lint-ts": "tslint -c tslint.json -p tsconfig.json --fix",
"patch-hardhat-typechain": "node scripts/patch-hardhat-typechain.js",
"precommit": "lint-staged",
"prepare": "yarn build",
"prepublishOnly": "yarn clean && yarn build:npm",
"rename-extensions": "for f in typechain/*.d.ts; do mv -- \"$f\" \"${f%.d.ts}.ts\"; done",
"semantic-release": "semantic-release --branches master",
"test": "npx hardhat test --network localhost",
"test:integration": "INTEGRATIONTEST=true VERBOSE=true yarn run test",
"test:fast": "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",
"test:integration:polygon": "find test/integration/polygon -type f -name '*.spec.ts' | xargs yarn run test:integration",
"test:integration:optimism": "find test/integration/optimism -type f -name '*.spec.ts' | xargs yarn run test:integration",
"test:integration:ethereum": "find test/integration/ethereum -type f -name '*.spec.ts' | xargs yarn run test:integration",
"test:integration:arbitrum": "find test/integration/arbitrum -type f -name '*.spec.ts' | xargs yarn run test:integration",
"test:clean": "yarn clean && yarn build && yarn test",
"transpile": "tsc",
"transpile-dist": "tsc -p tsconfig.dist.json",
"typechain": "npx hardhat typechain"
},
"resolutions": {
"ganache-cli": "6.12.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/IndexCoop/index-coop-smart-contracts.git"
},
"author": "IndexCoop",
"license": "MIT",
"homepage": "https://github.com/IndexCoop",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^3.1.0",
"@typechain/ethers-v5": "^5.0.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",
"bs58": "^5.0.0",
"chai": "^4.2.0",
"coveralls": "^3.0.1",
"dotenv": "^8.2.0",
"ethereum-waffle": "^3.2.1",
"globby": "^11.0.2",
"hardhat": "2.22.3",
"hardhat-contract-sizer": "^2.5.1",
"hardhat-deploy": "^0.7.0-beta.39",
"hardhat-typechain": "^0.3.4",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"lodash": "^4.17.4",
"prettier": "^3.2.5",
"prettier-plugin-solidity": "^1.3.1",
"semantic-release": "^19.0.2",
"solc": "^0.6.10",
"solhint": "^3.1.0",
"solidity-coverage": "^0.8.0",
"ts-generator": "^0.1.1",
"ts-node": "^8.10.1",
"tslint": "^6.1.3",
"tslint-eslint-rules": "^5.4.0",
"typescript": "5.4.2"
},
"dependencies": {
"@chainlink/contracts": "^0.3.1",
"@ethersproject/abstract-signer": "5.0.9",
"@ethersproject/bignumber": "5.0.12",
"@ethersproject/providers": "5.0.17",
"@types/ungap__structured-clone": "^0.3.0",
"@ungap/structured-clone": "^0.3.4",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"ethereumjs-util": "^7.0.5",
"ethers": "5.0.24",
"fs-extra": "^5.0.0",
"module-alias": "^2.2.2",
"replace-in-file": "^6.1.0",
"typechain": "^4.0.1"
},
"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"
]
}
}