UNPKG

react-hold-height

Version:

React component to hold the highest height established by a child component even though it no longer exists in the browser window

61 lines (60 loc) 1.56 kB
{ "name": "react-hold-height", "version": "0.4.1", "description": "React component to hold the highest height established by a child component even though it no longer exists in the browser window", "main": "lib/index.js", "scripts": { "clean": "rimraf lib", "compile": "babel src --out-dir lib", "start": "webpack --watch", "prepare": "npm run clean && npm run compile", "test": "jest", "test reset snapshot": "jest -u", "test:watch": "jest --watch", "test:coverage": "jest --coverage" }, "repository": { "type": "git", "url": "https://github.com/brurez/react-hold-height" }, "keywords": [ "react", "height", "component", "minHeight", "min-height" ], "author": "Bruno de Rezende (brurez@hotmail.com)", "license": "MIT", "jest": { "setupFiles": [ "./test/setup.js" ], "moduleNameMapper": { "^.+\\.(css|scss)$": "identity-obj-proxy" } }, "peerDependencies": { "react": ">=16.0.0", "react-dom": ">=16.0.0" }, "dependencies": { "lodash": "^4.17.4", "prop-types": "^15.7.2" }, "devDependencies": { "@babel/cli": "^7.13.16", "@babel/core": "^7.14.0", "@babel/preset-env": "^7.14.1", "@babel/preset-react": "^7.13.13", "@testing-library/react": "^11.2.6", "babel-loader": "^8.2.2", "babel-plugin-transform-class-properties": "^6.24.1", "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", "react": "^17.0.2", "react-dom": "^16.0.0", "rimraf": "^2.6.2", "webpack": "^3.8.1" } }