{
  "name": "react-cool-dimensions",
  "version": "3.0.1",
  "description": "React hook to measure an element's size and handle responsive components.",
  "license": "MIT",
  "homepage": "https://react-cool-dimensions.netlify.app",
  "repository": "https://github.com/wellyshen/react-cool-dimensions",
  "bugs": "https://github.com/wellyshen/react-cool-dimensions/issues",
  "keywords": [
    "react",
    "hook",
    "react-hook",
    "use",
    "use-dimensions",
    "resize",
    "observer",
    "resize-observer",
    "dimensions",
    "measure",
    "size",
    "responsive-components",
    "container-queries",
    "performance",
    "typescript"
  ],
  "author": "Welly Shen <hivoid19@gmail.com> (https://github.com/wellyshen)",
  "main": "dist/index.js",
  "module": "dist/index.esm.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "link-pkg": "yarn build:dev && npm link app/node_modules/react && yarn link",
    "start": "yarn clean:dist && yarn build:dev -w",
    "lint": "run-s lint:*",
    "lint:code": "eslint --fix . --ext .js,.ts,.tsx",
    "lint:type": "tsc",
    "lint:format": "prettier -w . -u --loglevel silent",
    "test": "jest",
    "test:watch": "yarn test --watch",
    "test:cov": "yarn clean:cov && yarn test --coverage",
    "build:dev": "yarn clean:dist && rollup -c",
    "build:prod": "yarn clean:dist && yarn clean:size && rollup -c --environment BUILD:production",
    "build:demo": "cd app && yarn && yarn build",
    "preversion": "run-s lint test build:prod",
    "postversion": "git push --follow-tags --no-verify && npm publish && yarn clean:dist && yarn clean:size",
    "clean:dist": "rimraf dist",
    "clean:size": "rimraf .size-snapshot.json",
    "clean:cov": "rimraf coverage",
    "clean": "run-p clean:*",
    "prepare": "husky install"
  },
  "lint-staged": {
    "*.{js,ts,tsx}": "eslint --fix",
    "**/*": "prettier -w -u"
  },
  "devDependencies": {
    "@babel/core": "^7.14.3",
    "@babel/preset-env": "^7.14.4",
    "@babel/preset-react": "^7.13.13",
    "@babel/preset-typescript": "^7.13.0",
    "@rollup/plugin-babel": "^5.3.0",
    "@rollup/plugin-commonjs": "^19.0.0",
    "@rollup/plugin-node-resolve": "^13.0.0",
    "@rollup/plugin-replace": "^2.4.2",
    "@testing-library/react-hooks": "^7.0.0",
    "@types/jest": "^26.0.23",
    "@types/react": "^17.0.9",
    "@types/react-dom": "^17.0.6",
    "@types/resize-observer-browser": "^0.1.5",
    "eslint": "^7.2.0",
    "eslint-config-welly": "^1.10.6",
    "husky": "^6.0.0",
    "jest": "^27.0.4",
    "lint-staged": "^11.0.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.3.1",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-test-renderer": "^17.0.2",
    "rimraf": "^3.0.2",
    "rollup": "^2.51.1",
    "rollup-plugin-copy": "^3.4.0",
    "rollup-plugin-size-snapshot": "^0.12.0",
    "rollup-plugin-terser": "^7.0.2",
    "ts-jest": "^27.0.3",
    "typescript": "^4.3.2"
  },
  "peerDependencies": {
    "react": ">= 16.8.0"
  }
}
