UNPKG

react-height

Version:

Component-wrapper to determine and report children elements height

99 lines (98 loc) 3.18 kB
{ "name": "react-height", "version": "3.0.2", "description": "Component-wrapper to determine and report children elements height", "main": "lib/index.js", "config": { "component": "ReactHeight", "externals": { "react": "React", "react-dom": "ReactDOM" }, "include": [ "https://unpkg.com/react/umd/react.production.min.js", "https://unpkg.com/react-dom/umd/react-dom.production.min.js" ] }, "scripts": { "build": "yarn lib && yarn dist", "start": "NODE_ENV=development webpack-dev-server --config ./webpack/dev.config.js", "predist": "rm -rf ./build", "dist": "NODE_ENV=production webpack-cli --config ./webpack/dist.config.js && NODE_ENV=production webpack-cli --config ./webpack/min.config.js", "preghPages": "yarn pub", "ghPages": "gh-pages --dist ./pub --repo git@github.com:nkbt/react-height.git --user nik@butenko.me --branch gh-pages --message 'Publish examples' ", "prelib": "rm -rf ./lib", "lib": "NODE_ENV=production babel src --out-dir lib", "lint": "eslint .", "prepub": "rm -rf ./pub", "pub": "NODE_ENV=production webpack-cli --config ./webpack/pub.config.js", "test": "node test/Component-test.js", "prepublishOnly": "yarn build", "postversion": "git push --follow-tags", "nuke": "rm -rf node_modules yarn.lock", "postnuke": "yarn install", "deps": "! depcheck --specials=bin,eslint --ignore-dirs=build,lib,pub | grep --invert-match 'No depcheck issue'" }, "repository": { "type": "git", "url": "https://github.com/nkbt/react-height.git" }, "keywords": [ "component", "react-component", "react", "height", "height-reporter" ], "author": "Nik Butenko <nik@butenko.me> (http://butenko.me/)", "license": "MIT", "bugs": { "url": "https://github.com/nkbt/react-height/issues" }, "homepage": "https://github.com/nkbt/react-height", "peerDependencies": { "react": ">=15.3" }, "dependencies": { "prop-types": "^15.5.8" }, "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.0.0", "babel-eslint": "^10.0.3", "babel-loader": "^8.0.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "css-loader": "^3.2.0", "depcheck": "^0.9.0", "eslint": "^6.4.0", "eslint-config-airbnb": "^18.0.1", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.14.3", "eslint-plugin-react-hooks": "^1.7.0", "gh-pages": "^2.1.1", "html-webpack-plugin": "^3.2.0", "html-webpack-tags-plugin": "^2.0.17", "mini-css-extract-plugin": "^0.8.0", "react": "^16.9.0", "react-dom": "^16.9.0", "style-loader": "^1.0.0", "tape": "^4.11.0", "webpack": "^4.41.0", "webpack-cli": "^3.3.9", "webpack-dev-server": "^3.8.1" }, "files": [ "build", "lib", "src", "LICENSE", "package.json", "README.md" ] }