UNPKG

use-breakpoints-width

Version:

React hook that shows the current breakpoint name and screen width.

38 lines (37 loc) 934 B
{ "name": "use-breakpoints-width", "version": "1.0.8", "description": "React hook that shows the current breakpoint name and screen width.", "keywords": [ "react", "hooks", "breakpoints", "screen width" ], "private": false, "main": "lib/index.js", "scripts": { "build": "babel src --out-dir lib", "develop": "babel -w src --out-dir lib", "deploy": "npm publish" }, "author": "Halo Lab", "license": "ISC", "peerDependencies": { "react": "^16.6.1", "react-dom": "^16.13.1" }, "devDependencies": { "@babel/cli": "^7.10.5", "@babel/core": "^7.10.5", "@babel/preset-env": "^7.10.4", "@babel/preset-react": "^7.10.4", "babel-eslint": "^10.1.0", "babel-preset-minify": "^0.5.1", "eslint": "^7.5.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.20.3", "prettier": "^2.0.5" } }