1{
2  "name": "react-sizeme",
3  "version": "2.3.6",
4  "description":
5    "Make your React Components aware of their dimensions and position.",
6  "license": "MIT",
7  "main": "commonjs/index.js",
8  "files": ["*.js", "*.md", "umd", "commonjs"],
9  "repository": {
10    "type": "git",
11    "url": "https://github.com/ctrlplusb/react-sizeme.git"
12  },
13  "keywords": ["library"],
14  "homepage": "https://github.com/ctrlplusb/react-sizeme#readme",
15  "author": "Sean Matheson <sean@ctrlplusb.com>",
16  "scripts": {
17    "build": "babel-node ./tools/scripts/build.js",
18    "check": "npm run test",
19    "clean":
20      "rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
21    "example:web":
22      "echo 'Make sure to `cd example/web && npm install`' && cd example/web && npm run start",
23    "lint": "eslint src",
24    "precommit": "lint-staged && npm run test",
25    "prepublish": "npm run build",
26    "test": "jest",
27    "test:coverage": "npm run test -- --coverage",
28    "test:coverage:deploy": "npm run test:coverage && codecov"
29  },
30  "dependencies": {
31    "element-resize-detector": "^1.1.12",
32    "invariant": "^2.2.2",
33    "lodash": "^4.17.4"
34  },
35  "peerDependencies": {
36    "prop-types": "^15.0.0-0",
37    "react": "^0.14.0 || ^15.0.0-0 || ^16.0.0",
38    "react-dom": "^0.14.0 || ^15.0.0-0 || ^16.0.0"
39  },
40  "devDependencies": {
41    "app-root-dir": "1.0.2",
42    "babel-cli": "^6.26.0",
43    "babel-core": "^6.26.0",
44    "babel-eslint": "7.2.3",
45    "babel-jest": "^21.0.2",
46    "babel-loader": "^7.1.2",
47    "babel-plugin-lodash": "3.2.11",
48    "babel-plugin-rewire": "1.1.0",
49    "babel-plugin-transform-class-properties": "6.24.1",
50    "babel-polyfill": "^6.26.0",
51    "babel-preset-env": "^1.6.0",
52    "babel-preset-latest": "6.24.1",
53    "babel-preset-react": "6.24.1",
54    "babel-preset-stage-3": "6.24.1",
55    "babel-register": "^6.26.0",
56    "codecov": "^2.3.0",
57    "cross-env": "^5.0.5",
58    "enzyme": "^2.9.1",
59    "enzyme-to-json": "^2.0.0",
60    "eslint": "^4.7.2",
61    "eslint-config-airbnb": "^15.1.0",
62    "eslint-plugin-import": "^2.7.0",
63    "eslint-plugin-jsx-a11y": "^5.1.1",
64    "eslint-plugin-react": "^7.3.0",
65    "gzip-size": "^4.0.0",
66    "husky": "^0.14.3",
67    "in-publish": "2.0.0",
68    "jest": "^21.1.0",
69    "lint-staged": "^4.2.2",
70    "lodash-webpack-plugin": "^0.11.4",
71    "prettier": "^1.7.0",
72    "pretty-bytes": "4.0.2",
73    "prop-types": "^15.5.10",
74    "ramda": "^0.24.1",
75    "react": "^15.6.1",
76    "react-addons-test-utils": "^15.6.0",
77    "react-dom": "^15.6.1",
78    "react-test-renderer": "^15.6.1",
79    "readline-sync": "1.4.7",
80    "rimraf": "^2.6.2",
81    "sinon": "^3.3.0",
82    "webpack": "^3.6.0",
83    "webpack-dev-middleware": "^1.12.0",
84    "webpack-hot-middleware": "^2.19.1"
85  },
86  "jest": {
87    "collectCoverageFrom": ["src/**/*.{js,jsx}"],
88    "testPathIgnorePatterns": [
89      "<rootDir>/(commonjs|coverage|node_modules|tools|umd)/"
90    ]
91  },
92  "lint-staged": {
93    "src/**/*.js": ["prettier --write", "git add"]
94  },
95  "eslintConfig": {
96    "root": true,
97    "parser": "babel-eslint",
98    "env": {
99      "browser": true,
100      "es6": true,
101      "node": true,
102      "jest": true
103    },
104    "extends": "airbnb",
105    "rules": {
106      "array-callback-return": 0,
107      "arrow-parens": ["error", "as-needed"],
108      "camelcase": 0,
109      "import/prefer-default-export": 0,
110      "import/no-extraneous-dependencies": 0,
111      "indent": 0,
112      "no-mixed-operators": 0,
113      "no-underscore-dangle": 0,
114      "no-confusing-arrow": 0,
115      "no-nested-ternary": 0,
116      "react/no-array-index-key": 0,
117      "react/react-in-jsx-scope": 0,
118      "semi": [2, "never"],
119      "react/forbid-prop-types": 0,
120      "react/jsx-filename-extension": 0,
121      "react/sort-comp": 0
122    }
123  },
124  "prettier": {
125    "semi": false,
126    "singleQuote": true,
127    "trailingComma": "all"
128  }
129}
130