-
Notifications
You must be signed in to change notification settings - Fork 127
/
package.json
135 lines (135 loc) · 5.81 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
{
"name": "@sushiswap/trident",
"version": "1.0.0-canary.54",
"description": "Trident",
"keywords": [
"trident",
"amm",
"framework"
],
"homepage": "https://github.com/sushiswap/trident",
"repository": {
"type": "git",
"url": "https://github.com/sushiswap/trident.git"
},
"bugs": {
"url": "https://github.com/sushiswap/trident/issues",
"email": "[email protected]"
},
"license": "GPL-3.0",
"files": [
"artifacts",
"contracts",
"deploy",
"deployments",
"exports",
"types"
],
"scripts": {
"build": "TS_NODE_TRANSPILE_ONLY=1 hardhat compile",
"console": "hardhat console",
"mainnet:deploy": "hardhat --network mainnet deploy",
"mainnet:verify": "hardhat --network mainnet etherscan-verify --license GPL-3.0 --force-license",
"mainnet:export": "hardhat --network mainnet export",
"polygon:deploy": "hardhat --network polygon deploy",
"polygon:verify": "hardhat --network polygon etherscan-verify --license GPL-3.0 --force-license",
"polygon:export": "hardhat --network polygon export",
"testnet:deploy": "yarn ropsten:deploy && yarn rinkeby:deploy && yarn goerli:deploy && yarn kovan:deploy && yarn moonbase:deploy && yarn arbitrum:deploy",
"ropsten:deploy": "hardhat --network ropsten deploy",
"ropsten:verify": "hardhat --network ropsten etherscan-verify --license GPL-3.0 --force-license",
"ropsten:export": "hardhat --network ropsten export --export exports/ropsten.json",
"rinkeby:deploy": "hardhat --network rinkeby deploy",
"rinkeby:verify": "hardhat --network rinkeby etherscan-verify --license GPL-3.0 --force-license",
"rinkeby:export": "hardhat --network rinkeby export --export exports/rinkeby.json",
"goerli:deploy": "hardhat --network goerli deploy",
"goerli:verify": "hardhat --network goerli etherscan-verify --license GPL-3.0 --force-license",
"goerli:export": "hardhat --network goerli export --export exports/goerli.json",
"kovan:deploy": "hardhat --network kovan deploy",
"kovan:export": "hardhat --network kovan export --export exports/kovan.json",
"kovan:verify": "hardhat --network kovan etherscan-verify --license GPL-3.0 --force-license",
"moonbase:deploy": "hardhat --network moonbase deploy",
"moonbase:export": "hardhat --network moonbase export --export exports/moonbase.json",
"arbitrum:deploy": "hardhat --network arbitrum deploy",
"arbitrum:export": "hardhat --network arbitrum export --export exports/arbitrum.json",
"test": "hardhat test test/_/*.ts test/abstract/*.test.ts test/constant-product/*.test.ts test/stable-pool/*.test.ts test/deployer/*.test.ts test/library/*.test.ts test/router/*.test.ts",
"testTines": "hardhat test test/constant-product/ConstantProductRouting.test.ts test/stable-pool/StablePoolRouting.test.ts test/router/RoutingMultiPool.test.ts test/router/RoutingMultiPoolComplex.test.ts test/router/TridentRouter.test.ts",
"testOnly": "hardhat test",
"test:debug": "mocha --inspect-brk",
"test:trace": "yarn test --logs",
"test:coverage": "COVERAGE=true hardhat coverage --testfiles \"{test/_/*.ts,test/abstract/*.test.ts,test/constant-product/*.test.ts,test/stable-pool/*.test.ts,test/deployer/*.test.ts,test/library/*.test.ts,test/router/*.test.ts}\"",
"test:gas": "cross-env REPORT_GAS=true yarn test",
"prettier": "prettier --write 'test/**/*.{js,ts}' && prettier --write contracts/**/*.sol",
"lint": "yarn prettier && solhint -c .solhint.json contracts/**/*.sol",
"prepare": "husky install",
"export:all": "hardhat export --export-all exports/all.json",
"prepublishOnly": "npm run export:all",
"version:canary": "yarn version --prerelease --preid=canary",
"publish:canary": "npm publish --access public --tag canary",
"size": "hardhat compile && hardhat size-contracts"
},
"lint-staged": {
"*.ts": [
"prettier --write"
],
"*.sol": [
"prettier --write"
],
"*.md": "prettier --write"
},
"resolutions": {
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13"
},
"devDependencies": {
"@codechecks/client": "^0.1.12",
"@ethersproject/address": "^5.0.0",
"@ethersproject/solidity": "^5.0.0",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-solhint": "^2.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@openzeppelin/contracts": "^4.4.1",
"@rari-capital/solmate": "6.2.0",
"@sushiswap/core-sdk": "1.0.0-canary.121",
"@sushiswap/prettier-config": "^0.1.0",
"@sushiswap/sdk": "5.0.0-canary.116",
"@sushiswap/tines": "1.0.0-canary.101",
"@tenderly/hardhat-tenderly": "^1.0.13",
"@typechain/ethers-v5": "^8.0.5",
"@typechain/hardhat": "^3.1.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.8",
"chai": "^4.3.6",
"cross-env": "^7.0.3",
"decimal.js": "^10.3.1",
"dotenv": "^10.0.0",
"eip-712": "^0.4.3",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.6.9",
"hardhat": "^2.0.0",
"hardhat-contract-sizer": "^2.3.0",
"hardhat-deploy": "^0.11.12",
"hardhat-docgen": "^1.3.0",
"hardhat-gas-reporter": "^1.0.6",
"hardhat-interface-generator": "^0.0.6",
"hardhat-log-remover": "^2.0.2",
"hardhat-preprocessor": "^0.1.4",
"hardhat-spdx-license-identifier": "^2.0.3",
"hardhat-tracer": "^1.0.0-alpha.6",
"hardhat-watcher": "^2.1.1",
"husky": "^7.0.4",
"lint-staged": "^12.1.7",
"mocha": "^9.1.3",
"mocha-chai-jest-snapshot": "^1.1.3",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"seedrandom": "^3.0.5",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.20",
"ts-generator": "^0.1.1",
"ts-node": "^10.4.0",
"typechain": "^6.1.0",
"typescript": "^4.5.4"
}
}