UNPKG

@safe-global/safe-service-client

Version:
84 lines (83 loc) 2.54 kB
{ "name": "@safe-global/safe-service-client", "version": "2.0.3", "description": "Safe Service Client", "main": "dist/src/index.js", "typings": "dist/src/index.d.ts", "keywords": [ "Ethereum", "Safe", "Service" ], "scripts": { "unbuild": "rimraf dist", "build": "yarn rimraf dist .nyc_output cache && tsc", "test:web3": "export TESTS_PATH=tests/endpoint && export ETH_LIB=web3 && nyc hardhat test", "test:ethers": "export TESTS_PATH=tests/endpoint && export ETH_LIB=ethers && nyc hardhat test", "test": "yarn test:ethers", "test:ci:web3": "export TESTS_PATH=tests/e2e && export ETH_LIB=web3 && nyc hardhat test", "test:ci:ethers": "export TESTS_PATH=tests/e2e && export ETH_LIB=ethers && nyc hardhat test", "test:ci": "yarn test:ci:ethers", "format": "prettier --write \"{src,tests,e2e}/**/*.ts\"", "lint": "tslint -p tsconfig.json" }, "repository": { "type": "git", "url": "git+https://github.com/safe-global/safe-core-sdk.git" }, "author": "Safe (https://safe.global)", "license": "MIT", "bugs": { "url": "https://github.com/safe-global/safe-core-sdk/issues" }, "files": [ "dist" ], "homepage": "https://github.com/safe-global/safe-core-sdk#readme", "devDependencies": { "@nomiclabs/hardhat-ethers": "^2.2.2", "@nomiclabs/hardhat-waffle": "^2.0.3", "@nomiclabs/hardhat-web3": "^2.0.0", "@safe-global/safe-ethers-lib": "^1.9.4", "@safe-global/safe-web3-lib": "^1.9.4", "@types/chai": "^4.3.4", "@types/chai-as-promised": "^7.1.5", "@types/mocha": "^10.0.1", "@types/node": "^18.11.18", "@types/sinon-chai": "^3.2.9", "@types/yargs": "^16.0.1", "@typescript-eslint/eslint-plugin": "^5.48.2", "@typescript-eslint/parser": "^5.48.2", "chai": "^4.3.7", "chai-as-promised": "^7.1.1", "eslint": "^8.32.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-prettier": "^4.2.1", "hardhat": "^2.12.6", "husky": "^8.0.3", "lint-staged": "^13.1.0", "mocha": "^10.2.0", "prettier": "^2.8.3", "sinon": "^14.0.0", "sinon-chai": "^3.7.0", "ts-generator": "^0.1.1", "typescript": "^4.9.4", "yargs": "^17.6.2" }, "dependencies": { "@ethersproject/abstract-signer": "^5.7.0", "@safe-global/safe-core-sdk-types": "^1.9.2", "node-fetch": "^2.6.6" }, "lint-staged": { "src/**/!(*test).ts": [ "yarn lint", "prettier --write" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }