UNPKG

@ajna-finance/sdk

Version:

A typescript SDK that can be used to create Dapps in Ajna ecosystem.

85 lines (84 loc) 2.78 kB
{ "name": "@ajna-finance/sdk", "description": "A typescript SDK that can be used to create Dapps in Ajna ecosystem.", "version": "0.4.7", "repository": { "type": "git", "url": "https://github.com/ajna-finance/sdk.git" }, "keywords": [ "sdk", "ajna", "typescript" ], "author": "@ajna-finance", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=18.12", "yarn": "^1.22.0" }, "scripts": { "build": "rimraf ./dist && tsc", "build-lib:watch": "tsc-watch --onSuccess \"yalc push --sig\"", "decode-errors": "npx ts-node -e 'require(\"./src/utils/decode-errors\").decodeErrors();'", "prepublishOnly": "yarn build && find dist -type f -name '*.map' -exec rimraf {} +", "document": "typedoc src/index.ts", "test": "jest --silent --runInBand", "test:dev": "yarn test --watchAll", "testnet-admin": "npx ts-node ./testnet/admin", "typechain-abis": "typechain --target ethers-v5 --discriminate-types --out-dir src/types/contracts './src/abis/*.json'", "update-abis": "npx ts-node -e 'require(\"./src/utils/update-abis\").updateAbis();'", "lint": "eslint --resolve-plugins-relative-to . --ext .ts,.tsx --fix", "prettier": "prettier --config .prettierrc --check **/*.{json,js,ts}", "prettier-format": "prettier --config .prettierrc **/*.{json,js,ts} --write", "prepare": "husky install" }, "dependencies": { "@ethersproject/abi": "^5.7.0", "@ethersproject/providers": "^5.7.2", "ethcall": "git+https://github.com/imbaniac/ethcall.git#base", "ethers": "^5.7.2", "expect": "^29.6.1", "mathjs": "^11.8.2", "typedoc": "^0.24.8" }, "devDependencies": { "@inquirer/prompts": "^3.0.0", "@jest/globals": "^29.6.1", "@typechain/ethers-v5": "^11.0.0", "@types/isomorphic-fetch": "^0.0.36", "@types/jest": "^29.5.2", "@types/node": "^20.4.0", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", "dotenv": "^16.3.1", "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-jest": "^27.2.2", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.3", "jest": "^29.6.1", "lint-staged": "^13.2.3", "nodemon": "^2.0.22", "prettier": "^2.8.8", "rimraf": "^5.0.1", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "tsc-watch": "^6.0.4", "tslib": "^2.6.0", "typechain": "8.2.0", "typescript": "^5.1.6" }, "bugs": { "url": "https://github.com/ajna-finance/sdk/issues" }, "homepage": "https://github.com/ajna-finance/sdk#readme", "lint-staged": { "**/*.(ts|tsx)": "eslint --resolve-plugins-relative-to . --ext .ts,.tsx --fix" } }