{
  "name": "@neolefty/swr",
  "version": "0.2.0-fork.5",
  "private": false,
  "description": "React Hooks library for remote data fetching",
  "main": "./dist/index.js",
  "module": "./esm/index.js",
  "react-native": "./esm/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist/**",
    "esm/**"
  ],
  "repository": "neolefty/swr",
  "homepage": "https://swr.now.sh",
  "license": "MIT",
  "scripts": {
    "dev": "now dev",
    "build": "npm run build:esm && npm run build:cjs",
    "build:cjs": "ncc build src/index.ts -o dist -m -e react",
    "build:esm": "tsc --target ESNext --module ES6 --outDir esm",
    "watch": "tsc --watch",
    "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"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run types:check && lint-staged"
    }
  },
  "lint-staged": {
    "*.{ts,tsx}": [
      "npm run lint:fix",
      "npm run format",
      "git add"
    ]
  },
  "devDependencies": {
    "@testing-library/react": "10.0.1",
    "@types/jest": "25.1.4",
    "@types/node": "13.9.3",
    "@types/react": "16.9.25",
    "@typescript-eslint/eslint-plugin": "2.25.0",
    "@typescript-eslint/parser": "2.25.0",
    "@zeit/ncc": "0.22.0",
    "eslint": "6.8.0",
    "eslint-config-prettier": "6.5.0",
    "husky": "4.2.3",
    "jest": "25.1.0",
    "lint-staged": "10.0.9",
    "prettier": "1.18.2",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "ts-jest": "25.2.1",
    "typescript": "3.8.3"
  },
  "dependencies": {
    "fast-deep-equal": "3.1.1"
  },
  "peerDependencies": {
    "react": "^16.11.0"
  }
}
