{
  "name": "react-sizeme",
  "version": "2.6.12",
  "description": "Make your React Components aware of their width and/or height!",
  "license": "MIT",
  "main": "dist/react-sizeme.js",
  "types": "react-sizeme.d.ts",
  "files": [
    "*.js",
    "*.md",
    "dist",
    "react-sizeme.d.ts"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/ctrlplusb/react-sizeme.git"
  },
  "keywords": [
    "library"
  ],
  "homepage": "https://github.com/ctrlplusb/react-sizeme#readme",
  "author": "Sean Matheson <sean@ctrlplusb.com>",
  "scripts": {
    "build": "node ./tools/scripts/build.js",
    "clean": "rimraf ./dist && rimraf ./coverage",
    "lint": "eslint src",
    "prepublish": "yarn run build",
    "test": "jest",
    "test:coverage": "yarn run test -- --coverage",
    "test:coverage:deploy": "yarn run test:coverage && codecov"
  },
  "resolutions": {
    "@types/react": "16.9.17"
  },
  "dependencies": {
    "element-resize-detector": "^1.2.1",
    "invariant": "^2.2.4",
    "shallowequal": "^1.1.0",
    "throttle-debounce": "^2.1.0"
  },
  "peerDependencies": {
    "react": "^0.14.0 || ^15.0.0-0 || ^16.0.0",
    "react-dom": "^0.14.0 || ^15.0.0-0 || ^16.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.8.3",
    "@babel/core": "^7.8.3",
    "@babel/plugin-proposal-class-properties": "^7.8.3",
    "@babel/polyfill": "^7.8.3",
    "@babel/preset-env": "^7.8.3",
    "@babel/preset-react": "^7.8.3",
    "@babel/register": "^7.8.3",
    "@types/react": "^16.9.17",
    "@types/react-dom": "^16.9.4",
    "app-root-dir": "1.0.2",
    "babel-eslint": "10.0.3",
    "babel-jest": "^24.9.0",
    "codecov": "^3.6.1",
    "cross-env": "^6.0.3",
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.2",
    "enzyme-to-json": "^3.4.3",
    "eslint": "^6.8.0",
    "eslint-config-airbnb": "^18.0.1",
    "eslint-config-prettier": "^6.9.0",
    "eslint-plugin-import": "^2.20.0",
    "eslint-plugin-jsx-a11y": "^6.2.3",
    "eslint-plugin-react": "^7.17.0",
    "eslint-plugin-react-hooks": "^2.3.0",
    "gzip-size": "^5.1.1",
    "husky": "^4.0.10",
    "in-publish": "2.0.0",
    "jest": "^24.9.0",
    "lint-staged": "^9.5.0",
    "prettier": "^1.19.1",
    "pretty-bytes": "5.3.0",
    "ramda": "^0.26.1",
    "react": "^16.12.0",
    "react-addons-test-utils": "^15.6.0",
    "react-dom": "^16.12.0",
    "react-test-renderer": "^16.12.0",
    "readline-sync": "1.4.10",
    "rimraf": "^3.0.0",
    "rollup": "^1.29.0",
    "rollup-plugin-babel": "^4.3.3",
    "rollup-plugin-uglify": "^6.0.4",
    "title-case": "^3.0.2",
    "typescript": "^3.7.4",
    "typings-tester": "^0.3.2"
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx}"
    ],
    "snapshotSerializers": [
      "<rootDir>/node_modules/enzyme-to-json/serializer"
    ],
    "testPathIgnorePatterns": [
      "<rootDir>/(coverage|dist|node_modules|tools)/",
      "<rootDir>/src/__tests__/typescript/"
    ],
    "testURL": "http://localhost/"
  },
  "eslintConfig": {
    "root": true,
    "parser": "babel-eslint",
    "env": {
      "browser": true,
      "es6": true,
      "node": true,
      "jest": true
    },
    "extends": [
      "airbnb",
      "prettier"
    ],
    "rules": {
      "camelcase": 0,
      "import/prefer-default-export": 0,
      "import/no-extraneous-dependencies": 0,
      "max-classes-per-file": 0,
      "no-nested-ternary": 0,
      "no-underscore-dangle": 0,
      "react/no-array-index-key": 0,
      "react/react-in-jsx-scope": 0,
      "semi": [
        2,
        "never"
      ],
      "react/destructuring-assignment": 0,
      "react/forbid-prop-types": 0,
      "react/jsx-filename-extension": 0,
      "react/jsx-props-no-spreading": 0,
      "react/sort-comp": 0,
      "react/state-in-constructor": 0,
      "react/static-property-placement": 0
    }
  },
  "eslintIgnore": [
    "node_modules/",
    "dist/",
    "coverage/"
  ],
  "prettier": {
    "semi": false,
    "singleQuote": true,
    "trailingComma": "all"
  },
  "lint-staged": {
    "*.js": [
      "prettier --write \"src/**/*.js\"",
      "git add"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged && yarn run test"
    }
  }
}
