-
Notifications
You must be signed in to change notification settings - Fork 420
/
package.json
128 lines (128 loc) · 4.54 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
{
"name": "@uniswap/smart-order-router",
"version": "4.8.0",
"description": "Uniswap Smart Order Router",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": {
"type": "git",
"url": "https://github.com/Uniswap/smart-order-router.git"
},
"license": "GPL",
"keywords": [],
"scripts": {
"compile-v4-types": "npx typechain --target ethers-v5 --out-dir src/types/v4 './node_modules/@uniswap/?(v4-core|v4-periphery)/artifacts/contracts/**/*.json'",
"compile-v3-types": "npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'",
"compile-v2-types": "npx typechain --target ethers-v5 --out-dir src/types/v2 './node_modules/@uniswap/?(v2-core|v2-periphery)/build/*UniswapV2*.json'",
"compile-router": "npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@uniswap/swap-router-contracts/artifacts/contracts/**/*.json'",
"compile-narwhal": "npx typechain --target ethers-v5 --out-dir src/types/other './node_modules/@uniswap/narwhal/artifacts/contracts/**/*.json'",
"compile-external-types": "npx typechain --target ethers-v5 --out-dir src/types/other 'src/abis/**/*.json'",
"build": "run-p compile-v4-types compile-v3-types compile-v2-types compile-router compile-narwhal compile-external-types && run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"prepare-release": "run-s cov:check doc:html version doc:publish",
"test": "jest test/unit",
"integ-test": "TS_NODE=true jest test/integ --testRunner='jest-circus/runner'",
"prepare": "husky"
},
"engines": {
"node": ">=10"
},
"dependencies": {
"@eth-optimism/sdk": "^3.2.2",
"@types/brotli": "^1.3.4",
"@uniswap/default-token-list": "^11.13.0",
"@uniswap/permit2-sdk": "^1.3.0",
"@uniswap/router-sdk": "^1.14.0",
"@uniswap/sdk-core": "^5.9.0",
"@uniswap/swap-router-contracts": "^1.3.1",
"@uniswap/token-lists": "^1.0.0-beta.31",
"@uniswap/universal-router": "^1.6.0",
"@uniswap/universal-router-sdk": "^4.6.1",
"@uniswap/v2-sdk": "^4.6.1",
"@uniswap/v3-sdk": "^3.17.1",
"@uniswap/v4-sdk": "^1.10.0",
"async-retry": "^1.3.1",
"await-timeout": "^1.1.1",
"axios": "^0.21.1",
"brotli": "^1.3.3",
"bunyan": "^1.8.15",
"bunyan-blackhole": "^1.1.1",
"ethers": "^5.7.2",
"graphql": "^15.5.0",
"graphql-request": "^3.4.0",
"lodash": "^4.17.21",
"mnemonist": "^0.38.3",
"node-cache": "^5.1.2",
"stats-lite": "^2.2.0"
},
"devDependencies": {
"@ethersproject/providers": "^5.4.0",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@nomiclabs/hardhat-ethers": "^2.0.6",
"@oclif/command": "^1.8.0",
"@oclif/errors": "^1.3.5",
"@typechain/ethers-v5": "^7.0.1",
"@types/async-retry": "^1.4.4",
"@types/await-timeout": "^0.3.1",
"@types/bunyan": "^1.8.6",
"@types/bunyan-blackhole": "^0.2.2",
"@types/jest": "^27.0.0",
"@types/jest-sinon": "^1.0.2",
"@types/lodash": "^4.14.168",
"@types/node": "^15.0.2",
"@types/sinon": "^10.0.2",
"@types/stats-lite": "^2.2.0",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"@uniswap/v3-core": "^1.0.0",
"@uniswap/v3-periphery": "^1.1.1",
"bunyan-debug-stream": "^2.0.0",
"dotenv": "^10.0.0",
"eslint": "^7.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.0",
"hardhat": "^2.22.15",
"husky": "^9.1.5",
"jest": "^27.0.6",
"jest-circus": "^27.5.1",
"jest-environment-hardhat": "^1.1.8",
"jest-expect-message": "^1.0.2",
"jest-mock": "^27.0.6",
"jest-sinon": "^1.0.4",
"npm-run-all": "^4.1.5",
"open-cli": "^6.0.1",
"prettier": "^2.1.1",
"prettier-plugin-organize-imports": "^2.1.0",
"sinon": "^11.1.2",
"ts-jest": "^27.0.4",
"ts-node": "^10.8.1",
"typechain": "^5.0.0",
"typescript": "^4.2.2"
},
"peerDependencies": {
"jsbi": "^3.2.0"
},
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"prettier": {
"singleQuote": true
},
"oclif": {
"commands": "./cli/commands"
}
}