UNPKG

@lifi/rpc-wrapper

Version:
114 lines (113 loc) 3.3 kB
{ "name": "@lifi/rpc-wrapper", "version": "0.0.28", "description": "LI.FI rpc-wrapper", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "scripts": { "watch": "tsc -w -p ./tsconfig.json", "build": "rimraf dist && tsc --project ./tsconfig.json && tsc --project ./tsconfig.cjs.json", "package": "npm run build && npm pack", "test": "jest --no-cache --runInBand --forceExit", "test:unit": "yarn test .unit.spec.ts", "test:cov": "jest --coverage --no-cache --runInBand --forceExit", "test:e2e": "jest -c jest.e2e.config.js", "pre-commit": "lint-staged", "pre-push": "yarn types:check && yarn build && yarn test:unit", "lint": "eslint --ext .tsx --ext .ts ./src", "lint:fix": "eslint --ext .tsx --ext .ts ./src --fix", "types:check": "tsc --noEmit", "prettier:fix": "prettier --write ./src/.", "use:npmReadme": "mv 'README.md' 'git.README.md' && mv 'npm.README.md' 'README.md'", "use:gitReadme": "mv 'README.md' 'npm.README.md' && mv 'git.README.md' 'README.md'", "prepublishOnly": "run-s build use:npmReadme && pinst --enable", "postpublish": "npm run use:gitReadme && pinst --enable", "prepare": "husky install", "release": "standard-version -a", "release:build": "yarn build", "release:publish": "yarn publish --tag latest" }, "standard-version": { "scripts": { "postbump": "node scripts/version.js && git add ." } }, "lint-staged": { "src/**/*.{ts,tsx}": [ "yarn run lint:fix", "yarn run prettier:fix" ] }, "files": [ "dist" ], "publishConfig": { "access": "public" }, "author": "", "license": "Apache-2.0", "keywords": [ "rpc-wrapper", "ethereum", "dapp", "bridge", "swap", "web3", "lifi", "ethers", "cross-chain", "defi", "web3-react", "cross-chain-applications", "cross-chain-bridge", "bridge-aggregation", "multi-chain", "metamask" ], "homepage": "https://github.com/lifinance/rpc-wrapper", "repository": { "type": "git", "url": "git+ssh://git@github.com/lifinance/rpc-wrapper" }, "bugs": { "url": "https://github.com/lifinance/rpc-wrapper/issues" }, "dependencies": { "@ethersproject/abi": "^5.7.0", "@ethersproject/contracts": "^5.7.0", "@sinclair/typebox": "^0.25.2", "axios": "^1.1.3", "bignumber.js": "^9.1.0", "eth-rpc-errors": "^4.0.3", "ethers": "^5.7.2", "winston": "^3.8.2" }, "devDependencies": { "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", "@types/chai": "^4.3.3", "@types/hdkey": "^2.0.0", "@types/jest": "^29.2.2", "@types/websocket": "^1.0.4", "@typescript-eslint/eslint-plugin": "^5.41.0", "@typescript-eslint/parser": "^5.41.0", "eslint": "^8.26.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.1", "jest": "^29.2.2", "lint-staged": "^13.0.3", "npm-run-all": "^4.1.5", "pinst": "^3.0.0", "prettier": "^2.7.1", "rimraf": "^3.0.2", "standard-version": "^9.5.0", "ts-jest": "^29.0.3", "ts-loader": "^9.4.1", "typescript": "^4.8.4" }, "directories": { "test": "test" } }