-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4368575
commit a8289d1
Showing
10 changed files
with
47,518 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
{ | ||
"name": "@balancer-labs/sdk", | ||
"version": "1.1.6-beta.16", | ||
"description": "JavaScript SDK for interacting with the Balancer Protocol V2", | ||
"license": "GPL-3.0-only", | ||
"homepage": "https://github.com/balancer-labs/balancer-sdk#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/balancer-labs/balancer-sdk", | ||
"directory": "balancer-js" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/balancer-labs/balancer-sdk/issues" | ||
}, | ||
"main": "dist/index.js", | ||
"module": "dist/index.esm.js", | ||
"browser": "dist/index.umd.js", | ||
"typings": "dist/index.d.ts", | ||
"files": [ | ||
"dist/" | ||
], | ||
"scripts": { | ||
"address-book:generate": "npx ts-node -P tsconfig.testing.json -r tsconfig-paths/register ./src/lib/utils/generate-address-books.ts", | ||
"build": "rimraf dist && rollup -c", | ||
"dev": "rollup -c -w", | ||
"test": "ts-mocha --paths --recursive -p tsconfig.testing.json 'src/**/*.spec.ts' --timeout 20000", | ||
"test:only": "ts-mocha --paths --recursive -p tsconfig.testing.json --timeout 20000", | ||
"lint": "eslint ./src --ext .ts --max-warnings 0", | ||
"lint:fix": "eslint ./src --ext .ts --max-warnings 0 --fix", | ||
"subgraph:generate": "graphql-codegen --config src/modules/subgraph/codegen.yml -r dotenv/config", | ||
"example": "npx ts-node -P tsconfig.examples.json -r tsconfig-paths/register", | ||
"node": "npx hardhat node --tsconfig tsconfig.testing.json --fork $(. ./.env && echo $ALCHEMY_URL)", | ||
"node:goerli": "npx hardhat --tsconfig tsconfig.testing.json --config hardhat.config.goerli.ts node --fork $(. ./.env && echo $ALCHEMY_URL_GOERLI) --port 8000", | ||
"node:polygon": "npx hardhat --tsconfig tsconfig.testing.json --config hardhat.config.polygon.ts node --fork $(. ./.env && echo $ALCHEMY_URL_POLYGON) --port 8137", | ||
"node:arbitrum": "npx hardhat --tsconfig tsconfig.testing.json --config hardhat.config.arbitrum.ts node --fork $(. ./.env && echo $ALCHEMY_URL_ARBITRUM) --port 8161", | ||
"node:gnosis": "npx hardhat --tsconfig tsconfig.testing.json --config hardhat.config.gnosis.ts node --fork $(. ./.env && echo $RPC_URL_GNOSIS) --port 8100", | ||
"node:zkevm": "npx hardhat --tsconfig tsconfig.testing.json --config hardhat.config.zkevm.ts node --fork $(. ./.env && echo $ALCHEMY_URL_ZKEVM) --port 8101", | ||
"node:avalanche": "npx hardhat --tsconfig tsconfig.testing.json --config hardhat.config.avalanche.ts node --fork $(. ./.env && echo $RPC_URL_AVALANCHE) --port 8114", | ||
"typechain:generate": "npx typechain --target ethers-v5 --out-dir src/contracts './src/lib/abi/*.json'" | ||
}, | ||
"devDependencies": { | ||
"@ethersproject/solidity": "^5.6.1", | ||
"@ethersproject/units": "^5.7.0", | ||
"@ethersproject/wallet": "^5.5.0", | ||
"@graphql-codegen/add": "^3.1.0", | ||
"@graphql-codegen/cli": "^2.3.0", | ||
"@graphql-codegen/introspection": "^2.1.0", | ||
"@graphql-codegen/schema-ast": "^2.4.0", | ||
"@graphql-codegen/typescript": "2.4.0", | ||
"@graphql-codegen/typescript-document-nodes": "^2.2.0", | ||
"@graphql-codegen/typescript-graphql-request": "^4.3.0", | ||
"@graphql-codegen/typescript-operations": "^2.2.0", | ||
"@graphql-codegen/typescript-resolvers": "2.4.1", | ||
"@nomicfoundation/hardhat-network-helpers": "^1.0.4", | ||
"@nomiclabs/hardhat-ethers": "^2.0.5", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^13.0.0", | ||
"@rollup/plugin-typescript": "^8.2.1", | ||
"@typechain/ethers-v5": "^10.2.0", | ||
"@types/chai": "^4.2.12", | ||
"@types/lodash": "^4.14.177", | ||
"@types/mocha": "^8.0.3", | ||
"@types/node": "^15.12.4", | ||
"@typescript-eslint/eslint-plugin": "^4.1.1", | ||
"@typescript-eslint/parser": "^4.1.1", | ||
"axios-mock-adapter": "^1.21.2", | ||
"chai": "^4.2.0", | ||
"dotenv": "^10.0.0", | ||
"eslint": "^7.9.0", | ||
"eslint-plugin-mocha-no-only": "^1.1.1", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"fishery": "^2.2.2", | ||
"hardhat": "^2.9.3", | ||
"mocha": "^8.2.1", | ||
"mockdate": "^3.0.5", | ||
"prettier": "^2.1.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.52.8", | ||
"rollup-plugin-dts": "^3.0.2", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"tiny-invariant": "^1.1.0", | ||
"ts-mocha": "^9.0.2", | ||
"ts-node": "^10.9.1", | ||
"tsconfig-paths": "^3.14.1", | ||
"typechain": "^8.1.1", | ||
"typescript": "^4.0.2" | ||
}, | ||
"dependencies": { | ||
"@balancer-labs/sor": "^4.1.1-beta.17", | ||
"@ethersproject/abi": "^5.4.0", | ||
"@ethersproject/abstract-signer": "^5.4.0", | ||
"@ethersproject/address": "^5.4.0", | ||
"@ethersproject/base64": "5.5.0", | ||
"@ethersproject/bignumber": "^5.4.0", | ||
"@ethersproject/bytes": "^5.4.0", | ||
"@ethersproject/constants": "^5.4.0", | ||
"@ethersproject/contracts": "^5.4.0", | ||
"@ethersproject/providers": "^5.4.5", | ||
"axios": "^0.24.0", | ||
"ethers": "^5", | ||
"graphql": "^15.6.1", | ||
"graphql-request": "^3.5.0", | ||
"json-to-graphql-query": "^2.2.4", | ||
"lodash": "^4.17.21" | ||
} | ||
} |