-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
96 lines (96 loc) · 4.53 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
{
"name": "vanilla-contracts",
"version": "1.1.0",
"description": "Smart contracts for vanilladefi.com",
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "pnpm run generate:typechain",
"test": "pnpx hardhat test",
"format:js": "eslint --fix test/ utils/ hardhat/ deploy/",
"format:sol": "prettier --write contracts/",
"lint:js": "eslint test/ utils/ hardhat/ deploy/",
"lint:sol": "prettier --check contracts/ && solhint --max-warnings 0 'contracts/**/*.sol'",
"compile:sol": "pnpx hardhat compile --config hardhat.base.ts",
"compile:clean:sol": "pnpx hardhat clean --config hardhat.base.ts && pnpx hardhat compile --config hardhat.base.ts",
"node:mainnet-fork": "FORK=mainnet pnpx hardhat node --verbose --fork-deployments mainnet --as-network localhost",
"deploy:goerli": "pnpm run compile:clean:sol && pnpx hardhat --network goerli deploy",
"deploy:ropsten": "pnpm run compile:clean:sol && pnpx hardhat --network ropsten deploy",
"deploy:rinkeby": "pnpm run compile:clean:sol && pnpx hardhat --network rinkeby deploy",
"node:test-accounts": "pnpx hardhat test-accounts",
"coverage:sol": "pnpx hardhat coverage --testfiles \"test/Trading.test.ts\"",
"generate:typechain-wo-hardhat": "pnpx typechain --target ethers-v5 --out-dir typechain/vanilla_v1.1 \"./artifacts/contracts/**/+([a-zA-Z0-9_]).json\"",
"generate:univ2-types": "pnpx typechain --target ethers-v5 --out-dir typechain/uniswap_v2 \"./node_modules/@uniswap/v2-periphery/build/I*.json\"",
"generate:univ3-core-types": "pnpx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_core \"./node_modules/@uniswap/v3-core/artifacts/**/*.json\"",
"generate:univ3-periphery-types": "pnpx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_periphery \"./node_modules/@uniswap/v3-periphery/artifacts/**/*.json\"",
"generate:oz-types": "pnpx typechain --target ethers-v5 --out-dir typechain/openzeppelin \"./artifacts/@openzeppelin/**/+([a-zA-Z0-9_]).json\"",
"generate:test-types": "pnpx typechain --target ethers-v5 --out-dir typechain/vanilla_test \"./test/v1-artifacts/**/*.json\"",
"generate:typechain": "pnpm run generate:typechain-wo-hardhat && pnpm run generate:univ3-core-types && pnpm run generate:univ2-types && pnpm run generate:univ3-periphery-types && pnpm run generate:test-types && pnpm run generate:oz-types"
},
"author": "Vanilla Team",
"license": "GPL-3.0-or-later",
"repository": {
"url": "https://github.com/vanilladefi/contracts"
},
"devDependencies": {
"@ethereum-waffle/chai": "^3.4.0",
"@ethersproject/abi": "^5.4.0",
"@ethersproject/bytes": "^5.4.0",
"@ethersproject/providers": "^5.4.3",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.10",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-etherscan": "^2.1.4",
"@openzeppelin/cli": "^2.8.2",
"@openzeppelin/upgrades-core": "^1.8.0",
"@ethersproject/hardware-wallets": "^5.4.0",
"@gnosis.pm/safe-core-sdk": "^0.3.1",
"@gnosis.pm/safe-ethers-adapters": "^0.1.0-alpha.3",
"@ledgerhq/hw-app-eth": "^6.4.0",
"@typechain/ethers-v5": "^7.0.1",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"@types/node": "^14.17.9",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"@uniswap/v3-periphery": "^1.1.1",
"chai": "^4.3.4",
"decimal.js": "^10.3.1",
"dotenv": "^8.6.0",
"eslint": "^7.32.0",
"mocha": "^9.0.3",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^4.1.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.4.4",
"fast-check": "^2.17.0",
"hardhat": "^2.6.0",
"hardhat-deploy": "^0.7.11",
"hardhat-deploy-ethers": "^0.3.0-beta.10",
"@typechain/hardhat": "^2.3.0",
"prettier": "^2.3.2",
"prettier-plugin-solidity": "^1.0.0-beta.17",
"solc": "^0.8.4",
"solhint": "^3.3.6",
"solidity-coverage": "^0.8.0-beta.0",
"ts-generator": "^0.1.1",
"ts-node": "^9.1.1",
"typechain": "^5.1.2",
"typescript": "^4.3.5"
},
"resolutions": {
"@solidity-parser/parser": "^0.13.2"
},
"dependencies": {
"@openzeppelin/contracts": "4.1.0",
"@uniswap/lib": "^4.0.1-alpha",
"@uniswap/v2-core": "1.0.1",
"@uniswap/v2-periphery": "1.1.0-beta.0",
"@uniswap/v3-core": "1.0.0",
"graphql": "15.5.0",
"graphql-request": "3.4.0",
"keccak256": "^1.0.3",
"merkletreejs": "^0.2.24"
}
}