UNPKG

react-with-dimension

Version:

Debounced React high order component to expose container width and height.

99 lines (98 loc) 2.7 kB
{ "name": "react-with-dimension", "version": "1.0.10", "description": "Debounced React high order component to expose container width and height.", "main": "dist/index.js", "scripts": { "test": "jest", "clean": "rm -rf dist", "transpile": "babel src -D -d dist --ignore '__tests__'", "bundle": "webpack --config webpack.config.js", "build": "npm run lint && npm run clean && npm run transpile && npm run bundle", "lint": "eslint ./src", "preversion": "npm test && npm run build", "version": "git add package.json && git commit -m \"Bump version $npm_package_version\" && git tag -a $npm_package_version -m \"Version $npm_package_version\"" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/team-767/react-with-dimension.git" }, "keywords": [ "react", "with-dimension", "isomorphic", "inline-style", "high-order-component" ], "author": "Renan Mendes Carvalho <aitherios@gmail.com> (https://github.com/aitherios)", "license": "ISC", "bugs": { "url": "https://github.com/team-767/react-with-dimension/issues" }, "homepage": "https://github.com/team-767/react-with-dimension#readme", "dependencies": { "lodash.debounce": ">= 4.0.6 < 5", "recompose": ">= 0.19.0 < 1.0" }, "peerDependencies": { "react": ">= 0.14" }, "devDependencies": { "babel-cli": "^6.10.1", "babel-core": "^6.10.4", "babel-eslint": "^6.0.4", "babel-jest": "^13.0.0", "babel-loader": "^6.2.4", "babel-preset-es2015": "^6.9.0", "babel-preset-react": "^6.11.1", "babel-preset-stage-0": "^6.5.0", "enzyme": "^2.4.0", "eslint": "^2.9.0", "eslint-config-airbnb": "^9.0.1", "eslint-plugin-import": "^1.7.0", "eslint-plugin-jsx-a11y": "^1.2.0", "eslint-plugin-react": "^5.0.1", "jest-cli": "^13.0.0", "react": "^15.0.0", "react-addons-test-utils": "^15.0.0", "react-dom": "^15.0.0", "webpack": "^1.13.1" }, "jest": { "unmockedModulePathPatterns": [ "react", "react-dom", "react-addons-test-utils", "fbjs", "enzyme" ], "rootDir": "./src" }, "babel": { "presets": [ "react", "es2015", "stage-0" ] }, "eslintConfig": { "extends": "airbnb", "env": { "browser": true, "node": true, "jasmine": true, "jest": true }, "parser": "babel-eslint", "rules": { "semi": 0, "new-cap": 0 } }, "maintainers": [ "Renan Mendes Carvalho <aitherios@gmail.com> (https://github.com/aitherios)" ], "contributors": [ "Renan Mendes Carvalho <aitherios@gmail.com> (https://github.com/aitherios)" ] }