This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
/
package.json
159 lines (159 loc) · 8.82 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
{
"name": "api",
"version": "0.0.0",
"description": "0x API",
"repository": "[email protected]:0xProject/0x-api.git",
"author": "Francesco Agosti <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"clean": "shx rm -rf __build__ test/generated-artifacts test/generated-wrappers generated-artifacts generated-wrappers",
"clean:ts": "shx rm -rf __build__",
"pre_build": "run-s compile contracts:gen generate_contract_wrappers contracts:copy",
"build": "yarn pre_build && tsc -p tsconfig.json",
"build:ts": "tsc -b",
"compile": "sol-compiler",
"db:migrate": "./node_modules/.bin/typeorm migration:run --config ./__build__/src/ormconfig.js ",
"db:migration:create": "./node_modules/.bin/typeorm migration:create --config ./__build__/src/ormconfig.js ",
"db:migration:generate": "./node_modules/.bin/typeorm migration:generate --config ./__build__/src/ormconfig.js ",
"db:revert": "./node_modules/.bin/typeorm migration:revert --config ./__build__/src/ormconfig.js ",
"test_": "env-cmd -f ./test/test_env mocha --require source-map-support/register --require make-promises-safe --timeout 200000 --exit --bail",
"test": "yarn test:rest && yarn test:asset-swapper",
"test:rest": "env-cmd -f ./test/test_env mocha --require source-map-support/register --require make-promises-safe '__build__/test/**/!(rfqt*)_test.js' '__build__/test/!(asset-swapper)/**/!(rfqt*)_test.js' --timeout 200000 --exit --bail",
"test:asset-swapper": "env-cmd -f ./test/test_env mocha --require source-map-support/register --require make-promises-safe '__build__/test/asset-swapper/**/*_test.js' --timeout 250000 --exit --bail",
"test:integration": "mocha --require source-map-support/register --require make-promises-safe '__build__/integration-test/**/*_test.js' --timeout 200000 --exit",
"dev": "yarn clean:ts && nodemon -r dotenv/config src/index.ts | pino-pretty",
"dev:service:http": "yarn clean:ts && nodemon -r dotenv/config src/runners/http_service_runner.ts | pino-pretty",
"dev:service:sra_http": "yarn clean:ts && nodemon -r dotenv/config src/runners/http_sra_service_runner.ts | pino-pretty",
"dev:service:swap_http": "yarn clean:ts && nodemon -r dotenv/config src/runners/http_swap_service_runner.ts | pino-pretty",
"dev:service:meta_transaction_http": "yarn clean:ts && nodemon -r dotenv/config src/runners/http_meta_transaction_service_runner.ts | pino-pretty",
"contracts:gen": "contracts-gen generate",
"contracts:copy": "contracts-gen copy",
"generate_contract_wrappers": "abi-gen --debug --abis ${npm_package_config_abis} --output test/generated-wrappers --backend ethers",
"watch": "tsc -w",
"fix": "eslint --fix src test && yarn prettier",
"prettier": "prettier --write ${npm_package_config_prettier_target} --config .prettierrc",
"prettier:ci": "prettier --list-different ${npm_package_config_prettier_target} --config .prettierrc",
"circular": "madge --circular --extensions ts ./",
"start": "node -r dotenv/config __build__/src/index.js",
"start:service:http": "node -r dotenv/config __build__/src/runners/http_service_runner.js",
"start:service:sra_http": "node -r dotenv/config __build__/src/runners/http_sra_service_runner.js",
"start:service:swap_http": "node -r dotenv/config __build__/src/runners/http_swap_service_runner.js",
"start:service:meta_transaction_http": "node -r dotenv/config __build__/src/runners/http_meta_transaction_service_runner.js",
"start:service:rfq_maker_balance_cache": "node -r dotenv/config __build__/src/runners/rfq_maker_balance_cache_runner.js",
"sampler-size": "jq .compilerOutput.evm.deployedBytecode.object -- test/generated-artifacts/ERC20BridgeSampler.json | echo $(( $(wc -c) / 2 - 1 ))",
"lint": "ts-prune -e && eslint src test && yarn prettier:ci"
},
"config": {
"prettier_target": "{*,test/**/*,integration-test/**/*,src/**/*,migrations/*,contracts/**/*}.{ts,tsx,sol,json,md}",
"publicInterfaceContracts": "ERC20BridgeSampler,BalanceChecker,FakeTaker,UniswapV3MultiQuoter",
"abis:comment": "This list is auto-generated by contracts-gen. Don't edit manually.",
"abis": "./test/generated-artifacts/@(AaveV2Sampler|AaveV3Sampler|ApproximateBuys|BalanceChecker|BalancerSampler|BalancerV2BatchSampler|BalancerV2Common|BalancerV2Sampler|BancorSampler|BancorV3Sampler|CompoundSampler|CurveSampler|DODOSampler|DODOV2Sampler|ERC20BridgeSampler|FakeTaker|GMXSampler|IBalancer|IBalancerV2Vault|IBancor|IBancorV3|ICurve|IGMX|IMStable|IMooniswap|IPlatypus|IShell|IUniswapExchangeQuotes|IUniswapV2Router01|KyberDmmSampler|LidoSampler|MStableSampler|MakerPSMSampler|MooniswapSampler|NativeOrderSampler|PlatypusSampler|SamplerUtils|ShellSampler|SynthetixSampler|TestNativeOrderSampler|TwoHopSampler|UniswapSampler|UniswapV2Sampler|UniswapV3MultiQuoter|UniswapV3Sampler|UtilitySampler|VelodromeSampler|WooPPSampler).json"
},
"devDependencies": {
"@0x/abi-gen": "^5.8.3",
"@0x/contracts-erc20": "^3.3.56",
"@0x/contracts-gen": "^2.0.49",
"@0x/contracts-test-utils": "^5.4.46",
"@0x/contracts-utils": "^4.8.37",
"@0x/dev-utils": "^5.0.0",
"@0x/sol-compiler": "^4.8.3",
"@0x/typescript-typings": "^5.3.1",
"@sentry/types": "^7.14.0",
"@types/express": "^4.17.1",
"@types/lodash": "^4.14.137",
"@types/mocha": "^5.2.7",
"@types/node": "12.12.54",
"@types/node-fetch": "^2.5.8",
"@types/supertest": "^2.0.8",
"@types/uuid-validate": "^0.0.1",
"@types/ws": "^8.5.3",
"@types/zen-observable": "^0.8.1",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.47.1",
"@uniswap/v3-core": "^1.0.1",
"@uniswap/v3-periphery": "^1.4.3",
"@zapper-fi/eslint-plugin": "^1.4.0",
"axios-mock-adapter": "^1.19.0",
"chai": "^4.0.1",
"chai-as-promised": "^7.1.0",
"chai-bignumber": "^3.0.0",
"dirty-chai": "^2.0.1",
"env-cmd": "^10.1.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"madge": "^5.0.1",
"make-promises-safe": "^5.1.0",
"mocha": "^6.2.2",
"nodemon": "^1.19.4",
"pino-pretty": "^9.1.1",
"prettier": "^2.3.1",
"prettier-plugin-solidity": "^1.0.0",
"shx": "^0.3.2",
"supertest": "^4.0.2",
"ts-mockito": "^2.6.1",
"ts-node": "^10.9.1",
"ts-prune": "^0.10.3",
"typemoq": "^2.1.0",
"typescript": "^4.6.3"
},
"dependencies": {
"@0x/api-utils": "^0.0.10",
"@0x/assert": "^3.0.35",
"@0x/base-contract": "^7.0.0",
"@0x/contract-addresses": "^8.0.3",
"@0x/contract-wrappers": "^13.22.16",
"@0x/contracts-zero-ex": "^0.38.6",
"@0x/fast-abi": "^0.0.8",
"@0x/json-schemas": "^6.4.4",
"@0x/neon-router": "^0.3.5",
"@0x/order-utils": "^10.4.28",
"@0x/protocol-utils": "^11.17.6",
"@0x/quote-server": "^8.0.0",
"@0x/subproviders": "^7.0.0",
"@0x/token-metadata": "^0.2.1",
"@0x/types": "^3.3.6",
"@0x/utils": "^7.0.0",
"@0x/web3-wrapper": "^8.0.0",
"@balancer-labs/sor": "^4.1.1-beta.2",
"@bancor/sdk": "0.2.10",
"@cryptoalgebra/core": "^2.0.0",
"@cryptoalgebra/periphery": "^1.0.0",
"@ethersproject/abi": "^5.0.1",
"@ethersproject/address": "^5.0.1",
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/hdnode": "^5.2.0",
"@ethersproject/providers": "^5.7.1",
"@ethersproject/strings": "^5.0.10",
"@kybernetwork/ks-elastic-sc": "KyberNetwork/ks-elastic-sc#362d9b6a726bcb286cc47c082c46f6259a5ae82d",
"@sentry/node": "^7.14.0",
"@sentry/tracing": "^7.14.0",
"aws-sdk": "^2.908.0",
"axios": "^0.21.1",
"balancer-labs-sor-v1": "npm:@balancer-labs/[email protected]",
"delay": "^4.4.0",
"dotenv": "^8.1.0",
"ethereum-types": "^3.7.1",
"express": "^4.17.3",
"express-async-handler": "^1.1.4",
"express-prom-bundle": "^6.6.0",
"graphql": "^15.4.0",
"graphql-request": "^3.4.0",
"heartbeats": "^5.0.1",
"http-status-codes": "^2.2.0",
"immutable": "^4.2.2",
"json-rpc-error": "^2.0.0",
"kafkajs": "^1.15.0",
"lodash": "^4.17.15",
"node-fetch": "^2.6.1",
"npm-run-all": "4.1.2",
"pg": "^8.5.0",
"prom-client": "^12.0.0",
"retry-axios": "^2.1.2",
"sqs-producer": "^2.1.0",
"typeorm": "0.2.29",
"uuid-validate": "^0.0.3",
"ws": "^8.11.0",
"zen-observable": "^0.10.0"
}
}