UNPKG

@angleprotocol/sdk

Version:
100 lines (99 loc) • 2.98 kB
{ "name": "@angleprotocol/sdk", "version": "3.0.129", "description": "SDK for Angle DApps", "keywords": [ "angle", "angle money", "angle protocol", "ethereum", "eth", "stablecoin", "stablecoins", "defi", "blockchain", "solidity", "javascript" ], "homepage": "https://angle.money", "bugs": { "url": "https://github.com/AngleProtocol/angle-sdk/issues", "email": "contact@angle.money" }, "repository": { "type": "git", "url": "https://github.com/AngleProtocol/angle-sdk" }, "license": "GPL-3.0-or-later", "author": { "name": "Angle Labs", "email": "contact@angle.money", "url": "https://angle.money" }, "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "rm -rf dist && tsc", "generate-types-from-abis": "typechain --target ethers-v5 --out-dir src/constants/types './src/constants/abis/**/*.json'", "lint": "eslint --fix 'src/**/*.ts' 'src/*.ts'", "postinstall": "echo '\nšŸ›  DO NOT FORGET TO RUN `yarn generate-types-from-abis` TO GENERATE THE CORRECT TYPES LOCALLY šŸ› \n'", "start:local": "sed -i '' 's/MAINNET = .*/MAINNET = 1337,/g' ./src/types/constants.ts && yarn build && yarn link", "unstart:local": "sed -i '' 's/MAINNET = .*/MAINNET = 1,/g' ./src/types/constants.ts && yarn build && yarn unlink", "validate": "ts-node scripts/validate.ts", "watch": "tsc --watch" }, "prettier": { "printWidth": 140, "semi": true, "singleQuote": true }, "dependencies": { "@typechain/ethers-v5": "^10.0.0", "@types/lodash": "^4.14.180", "ethers": "^5.6.4", "graphql": "^15.7.1", "graphql-request": "^3.6.1", "jsbi": "^4.3.0", "keccak256": "^1.0.6", "lodash": "^4.17.21", "merkletreejs": "^0.3.10", "tiny-invariant": "^1.1.0", "typechain": "^8.0.0" }, "devDependencies": { "@nomiclabs/hardhat-ethers": "^2.0.5", "@types/chai": "^4.2.21", "@types/mocha": "^9.0.0", "@types/node": "16.11.6", "@typescript-eslint/eslint-plugin": "^5.14.0", "@typescript-eslint/parser": "^5.14.0", "chai": "^4.3.4", "dotenv": "^10.0.0", "eslint": "^8.10.0", "eslint-config-prettier": "^8.5.0", "eslint-config-standard": "^16.0.3", "eslint-plugin-import": "^2.25.4", "eslint-plugin-mocha": "^10.0.3", "eslint-plugin-mocha-no-only": "^1.1.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "3.4.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-react": "^7.27.1", "eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-simple-import-sort": "^7.0.0", "eslint-plugin-standard": "^5.0.0", "eslint-plugin-tsdoc": "^0.2.14", "express": "4.17.1", "hardhat": "^2.6.7", "prettier": "^2.5.1", "ts-node": "10.4.0", "typescript": "^4.4.4" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }