UNPKG

@xspswap/smart-order-router

Version:
132 lines (131 loc) 4.42 kB
{ "name": "@xspswap/smart-order-router", "author": { "name": "pro100skm", "email": "pro100skm@yandex.ru" }, "version": "1.1.6", "description": "XSwap Protocol V3 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/XSwapProtocol/v3-smart-order-router.git" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "license": "GPL", "keywords": [ "xswap", "xspswap", "xdc", "xinfin" ], "scripts": { "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-v3-types compile-v2-types compile-router 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" }, "engines": { "node": ">=10" }, "dependencies": { "@uniswap/default-token-list": "^2.0.0", "@uniswap/swap-router-contracts": "^1.3.0", "@uniswap/token-lists": "^1.0.0-beta.25", "@uniswap/universal-router": "^1.0.1", "@x-swap-protocol/router-sdk": "^1.1.0", "@x-swap-protocol/universal-router-sdk": "^1.1.0", "@x-swap-protocol/v2-sdk": "^1.1.0", "@x-swap-protocol/v3-sdk": "^1.1.0", "async-retry": "^1.3.1", "await-timeout": "^1.1.1", "axios": "^0.21.1", "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": "^14.18.63", "@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": "^3.1.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.12.2", "jest": "^27.0.6", "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.1.4" }, "files": [ "build/main", "build/module", "!**/*.spec.*", "!**/*.json", "CHANGELOG.md", "LICENSE", "README.md" ], "prettier": { "singleQuote": true }, "oclif": { "commands": "./cli/commands" } }