UNPKG

react-16-height

Version:

Component-wrapper to determine and report children elements height

83 lines (82 loc) 3.07 kB
{ "name": "react-16-height", "version": "3.0.0", "description": "Component-wrapper to determine and report children elements height", "main": "lib/index.js", "scripts": { "pregh-pages": "git fetch origin", "gh-pages": "git checkout gh-pages && git rebase origin/master --force-rebase && npm run build && git add . && git commit --amend --no-edit && git push --force && git checkout master", "build": "parallelshell -w \"npm run build:lib -s\" \"npm run build:ghPages -s\" \"npm run build:dist -s\" \"npm run build:min -s\"", "prebuild": "rimraf lib example build", "build:lib": "cross-env NODE_ENV=production babel src --out-dir lib --ignore src/example", "build:ghPages": "cross-env NODE_ENV=production BUILD=ghPages webpack", "build:dist": "cross-env NODE_ENV=production BUILD=dist webpack", "build:min": "cross-env NODE_ENV=production BUILD=min webpack", "prepublish": "parallelshell -w \"npm run build:lib -s\" \"npm run build:dist -s\" \"npm run build:min -s\"", "start": "cross-env NODE_ENV=development webpack-dev-server", "test": "cross-env NODE_ENV=test babel-node test", "test:dev": "cross-env NODE_ENV=test babel-node test | tap-nyan", "test:cov": "cross-env NODE_ENV=test babel-node node_modules/isparta/bin/isparta cover --report text --report html --report lcov --dir reports/coverage test", "test:e2e": "cross-env NODE_ENV=development nightwatch-autorun", "lint": "eslint --cache .", "precommit": "npm run lint -s", "prepush": "npm run test -s", "postversion": "git push --follow-tags" }, "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" }, "devDependencies": { "babel-cli": "6.24.1", "babel-core": "6.24.1", "babel-eslint": "7.2.2", "babel-loader": "6.4.1", "babel-plugin-transform-class-properties": "6.24.1", "babel-plugin-transform-object-rest-spread": "6.23.0", "babel-preset-es2015": "6.24.1", "babel-preset-react": "6.24.1", "codecov.io": "0.1.6", "cross-env": "4.0.0", "css-loader": "0.28.0", "eslint": "3.19.0", "eslint-plugin-babel": "4.1.1", "eslint-plugin-react": "6.10.3", "glob": "7.1.1", "html-webpack-plugin": "2.28.0", "husky": "0.13.3", "isparta": "4.0.0", "json-loader": "0.5.4", "nightwatch-autorun": "3.1.0", "parallelshell": "2.0.0", "react": "15.5.4", "react-dom": "15.5.4", "rimraf": "2.6.1", "sinon": "2.1.0", "style-loader": "0.16.1", "tap-nyan": "1.1.0", "tap-xunit": "1.7.0", "tape": "4.6.3", "webpack": "2.4.1", "webpack-dev-server": "2.4.2" }, "dependencies": { "prop-types": "15.5.8" } }