UNPKG

@pmbs/react-resize-detector

Version:
78 lines (77 loc) 2.12 kB
{ "name": "@pmbs/react-resize-detector", "description": "React resize detector", "main": "build/index.js", "module": "build/index.esm.js", "files": [ "build" ], "types": "build/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/maslianok/react-resize-detector.git" }, "scripts": { "build": "rollup -c", "link": "npm link react react-dom", "prerelease": "npm version prerelease --preid=rc" }, "dependencies": { "@types/resize-observer-browser": "^0.1.6", "lodash": "^4.17.21" }, "devDependencies": { "@babel/cli": "^7.14.8", "@babel/core": "^7.15.0", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-inject": "^4.0.3", "@rollup/plugin-node-resolve": "^13.1.1", "@types/lodash": "^4.14.178", "@types/react": "^17.0.37", "@types/react-dom": "^17.0.11", "@typescript-eslint/eslint-plugin": "^5.8.0", "@typescript-eslint/parser": "^5.8.0", "babel-eslint": "^10.0.3", "cross-env": "^7.0.3", "eslint": "^8.5.0", "eslint-plugin-import": "^2.25.3", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-react": "^7.28.0", "resize-observer-polyfill": "^1.5.1", "rimraf": "^3.0.0", "rollup": "^2.61.1", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-typescript2": "^0.31.1", "tslint": "^6.1.3", "typescript": "^4.5.4" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0", "react-dom": "^16.0.0 || ^17.0.0" }, "author": "Vitalii Maslianok <maslianok@gmail.com> (https://github.com/maslianok)", "version": "7.0.0", "bugs": { "url": "https://github.com/maslianok/react-resize-detector/issues" }, "directories": { "example": "examples" }, "homepage": "https://github.com/maslianok/react-resize-detector", "keywords": [ "react", "resize", "detector", "resizeObserver", "observer" ], "license": "MIT", "sideEffects": false, "maintainers": [ "Vitalii Maslianok <maslianok@gmail.com>" ], "contributors": [ "James J. Womack (@james_womack)" ] }