UNPKG

@dzapio/sdk

Version:

A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.

116 lines (115 loc) 3.07 kB
{ "name": "@dzapio/sdk", "version": "1.0.1", "description": "A TypeScript/JavaScript SDK for interacting with the DZap protocol, providing utilities for DeFi operations including Swaps, Bridges, and Zaps.", "main": "dist/index.js", "source": "src/index.ts", "module": "dist/index.m.js", "unpkg": "dist/index.umd.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.m.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "engines": { "node": ">=16.0.0" }, "publishConfig": { "access": "public" }, "scripts": { "start": "node .", "dev:debug": "ts-node-dev --respawn --pretty --transpile-only ./src/index.ts", "yalcPublish": "npm run build && yalc publish", "pack": "yarn build && npm pack", "githubPublish": "npm run build && npm publish", "npmPublish": "npm run build && npm publish --access public", "build": "rm -rf dist && microbundle --tsconfig tsconfig.build.json", "dev": "nodemon", "test": "jest", "lint": "eslint --cache src/**/*.ts", "lint:fix": "eslint --cache --fix src/**/*.ts", "pretty": "prettier --write --ignore-unknown src/**/*.ts", "prepush": "tsc --build", "prepare": "husky install && yarn run fix-permissions", "fix-permissions": "node ./scripts/fixPermissions.js" }, "husky": { "hooks": { "pre-commit": "npx lint-staged", "pre-push": "yarn prepush" } }, "lint-staged": { "src/**/*.{js,ts}": "eslint --cache --fix", "src/**/*.{js,ts,md}": "prettier --write --ignore-unknown" }, "keywords": [ "DZap", "defi", "dex", "swap", "bridge", "zap", "dca", "ethereum", "blockchain", "web3", "typescript", "sdk" ], "author": "DZap", "license": "MIT", "files": [ "dist", "README.md", "CHANGELOG.md", "LICENSE" ], "devDependencies": { "@types/jest": "^30.0.0", "@types/node": "^24.0.7", "@typescript-eslint/eslint-plugin": "^6.13.1", "@typescript-eslint/parser": "^6.13.1", "eslint": "^8.54.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^5.1.3", "husky": "^9.0.10", "jest": "^29.7.0", "lint-staged": "^15.2.2", "microbundle": "^0.15.1", "nodemon": "^2.0.16", "prettier": "^3.1.0", "ts-jest": "^29.4.0", "typescript": "^5.5.4" }, "dependencies": { "axios": "^1.2.1", "decimal.js": "^10.4.3", "node-cache": "^5.1.2", "ethers": "5.7.2", "viem": "^2.17.0" }, "repository": { "type": "git", "url": "git+https://github.com/dzapio/sdk.git" }, "bugs": { "url": "https://github.com/dzapio/sdk/issues" }, "homepage": "https://github.com/dzapio/sdk#readme", "microbundle": { "entry": "src/index.ts", "output": "dist", "format": "esm,cjs,umd", "target": "node", "sourcemap": false, "generateTypes": true } }