{
  "name": "ether-swr",
  "version": "2.0.1",
  "description": "Ether-SWR is a React hook that fetches blockchain data, streamlines the chores to keep the internal state of Decentralized App (DApp) and optimize the RPC calls to an Ethereum node.",
  "main": "./dist/index.js",
  "module": "./esm/index.js",
  "engines": {
    "node": ">=10"
  },
  "exports": {
    "import": "./esm/index.js",
    "require": "./dist/index.js"
  },
  "react-native": "./esm/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist/**",
    "esm/**"
  ],
  "repository": "aboutlo/ether-swr",
  "license": "MIT",
  "scripts": {
    "build": "yarn run build:esm && yarn run build:cjs",
    "coverage": "yarn test --coverage --collectCoverageFrom 'src/**/*.ts'",
    "prepublishOnly": "yarn run build",
    "build:cjs": "ncc build src/index.ts  -s -o dist -m -e react -e react-dom -e swr -e web3-react -e Web3Provider",
    "build:esm": "tsc --target ESNext --module ES6 --outDir esm",
    "publish:local": "yalc publish",
    "release:major": "yarn standard-version --release-as major",
    "release:minor": "yarn standard-version --release-as minor",
    "release:patch": "yarn standard-version --release-as patch",
    "start": "jest --watch --verbose",
    "types:check": "tsc --noEmit",
    "format": "prettier --write \"{src,test,examples}/**/*.{ts,tsx}\"",
    "lint": "eslint \"{src,test,examples}/**/*.{ts,tsx}\"",
    "lint:fix": "eslint \"{src,test,examples}/**/*.{ts,tsx}\" --fix",
    "test": "jest",
    "test:watch": "jest --watch"
  },
  "husky": {
    "hooks": {
      "pre-commit": "yarn types:check && yarn test && lint-staged"
    }
  },
  "lint-staged": {
    "*.{ts,tsx}": [
      "yarn run lint:fix",
      "yarn run format",
      "git add"
    ]
  },
  "devDependencies": {
    "@0xsequence/multicall": "0.31.0",
    "@0xsequence/provider": "0.31.1",
    "@testing-library/jest-dom": "5.9.0",
    "@testing-library/react": "11.2.3",
    "@testing-library/react-hooks": "3.2.1",
    "@types/jest": "24.0.20",
    "@types/node": "11.12.0",
    "@types/react": "16.9.11",
    "@typescript-eslint/eslint-plugin": "4.28.3",
    "@typescript-eslint/parser": "4.28.3",
    "@vercel/ncc": "^0.28.6",
    "@web3-react/core": "6.1.1",
    "eslint": "^7.22.0",
    "eslint-config-prettier": "6.5.0",
    "eslint-plugin-react-hooks": "4.0.4",
    "ethers": "5.4.7",
    "husky": "2.4.1",
    "jest": "26.6.0",
    "lint-staged": "8.2.1",
    "prettier": "1.18.2",
    "react": "^17.0.0",
    "react-dom": "^17.0.0",
    "react-test-renderer": "^17.0.0",
    "serve": "12.0.0",
    "standard-version": "9.1.0",
    "swr": "1.0.0",
    "ts-jest": "^26.5.3",
    "typescript": "4.3.5"
  },
  "peerDependencies": {
    "@0xsequence/multicall": "*",
    "ethers": "*",
    "react": "*",
    "react-dom": "*",
    "swr": "*"
  }
}
