|
13 | 13 | "url": "git+https://github.com/envato/react-breakpoints.git"
|
14 | 14 | },
|
15 | 15 | "keywords": [
|
| 16 | + "resize-observer", |
| 17 | + "media-queries", |
| 18 | + "element-queries", |
| 19 | + "container-queries", |
| 20 | + "breakpoints", |
16 | 21 | "react-hooks",
|
17 | 22 | "hooks",
|
18 | 23 | "react",
|
|
28 | 33 | },
|
29 | 34 | "homepage": "https://github.com/envato/react-breakpoints#readme",
|
30 | 35 | "peerDependencies": {
|
31 |
| - "react": "^16.12.0", |
32 |
| - "react-dom": "^16.12.0" |
| 36 | + "react": ">=16.8.0", |
| 37 | + "react-dom": ">=16.8.0" |
33 | 38 | },
|
34 | 39 | "devDependencies": {
|
35 |
| - "@babel/cli": "^7.8.4", |
36 |
| - "@babel/core": "^7.8.6", |
37 |
| - "@babel/preset-env": "^7.7.7", |
38 |
| - "@babel/preset-react": "^7.8.3", |
39 |
| - "react": "^16.12.0", |
40 |
| - "react-dom": "^16.12.0" |
| 40 | + "@typescript-eslint/eslint-plugin": "^2.34.0", |
| 41 | + "@typescript-eslint/parser": "^2.34.0", |
| 42 | + "babel-eslint": "^10.1.0", |
| 43 | + "eslint": "^6.8.0", |
| 44 | + "eslint-config-react-app": "^5.2.1", |
| 45 | + "eslint-plugin-flowtype": "^4.7.0", |
| 46 | + "eslint-plugin-import": "^2.22.1", |
| 47 | + "eslint-plugin-jsx-a11y": "^6.4.1", |
| 48 | + "eslint-plugin-react": "^7.22.0", |
| 49 | + "eslint-plugin-react-hooks": "^2.5.1", |
| 50 | + "husky": "^4.3.7", |
| 51 | + "lint-staged": "^10.5.3", |
| 52 | + "prettier": "^2.2.1", |
| 53 | + "react": "^17.0.1", |
| 54 | + "react-dom": "^17.0.1" |
41 | 55 | },
|
42 | 56 | "dependencies": {
|
43 | 57 | "@envato/react-resize-observer-hook": "^1.0.1"
|
| 58 | + }, |
| 59 | + "eslintConfig": { |
| 60 | + "extends": "react-app" |
| 61 | + }, |
| 62 | + "husky": { |
| 63 | + "hooks": { |
| 64 | + "pre-commit": "lint-staged" |
| 65 | + } |
| 66 | + }, |
| 67 | + "lint-staged": { |
| 68 | + "**/*.{js,ts,tsx}": [ |
| 69 | + "eslint --cache --fix", |
| 70 | + "prettier --write" |
| 71 | + ] |
| 72 | + }, |
| 73 | + "prettier": { |
| 74 | + "arrowParens": "avoid", |
| 75 | + "jsxSingleQuote": true, |
| 76 | + "printWidth": 120, |
| 77 | + "quoteProps": "preserve", |
| 78 | + "semi": true, |
| 79 | + "singleQuote": true, |
| 80 | + "trailingComma": "none" |
44 | 81 | }
|
45 | 82 | }
|
0 commit comments