UNPKG

@safe-global/safe-react-hooks

Version:

A collection of React Hooks that facilitates the interaction of React apps with Safe Smart Accounts

76 lines (75 loc) 2.18 kB
{ "name": "@safe-global/safe-react-hooks", "version": "0.3.0", "description": "A collection of React Hooks that facilitates the interaction of React apps with Safe Smart Accounts", "keywords": [ "Ethereum", "Wallet", "Safe", "Smart Account", "SDK", "React", "Hooks" ], "scripts": { "test": "jest", "coverage": "jest --coverage", "format:check": "prettier --check \"*/**/*.{js,json,md,ts}\"", "format": "prettier --write \"*/**/*.{js,json,md,ts}\"", "lint:check": "eslint './{src,test}/**/*.{js,jsx,ts,tsx}'", "unbuild": "rm -rf dist cache *.tsbuildinfo", "build": "yarn unbuild && tsc -p tsconfig.build.json && tsc-alias" }, "repository": { "type": "git", "url": "git+https://github.com/safe-global/safe-react-hooks.git" }, "author": "Safe (https://safe.global)", "license": "MIT", "bugs": { "url": "https://github.com/safe-global/safe-react-hooks/issues" }, "files": [ "dist" ], "sideEffects": false, "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "typings": "./dist/index.d.ts", "peerDependencies": { "@tanstack/react-query": ">=5.0.0", "react": ">=18", "typescript": ">=5.0.4" }, "devDependencies": { "@tanstack/react-query": ">=5.45.1", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0", "@types/jest": "^29.5.13", "@types/react": ">=18.3.11", "@types/react-dom": ">=18.3.1", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "^3.3.3", "react": ">=18.3.1", "react-dom": ">=18.3.1", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "tsc-alias": "^1.8.10", "typescript": "^5.3.3" }, "dependencies": { "@safe-global/sdk-starter-kit": "^2.0.1", "@safe-global/types-kit": "^2.0.1", "viem": "^2.18.6", "wagmi": "^2.12.2" }, "packageManager": "yarn@1.22.22" }