UNPKG

react-with-lifecycle

Version:

HOC to add lifecycle hooks to any component, even stateless ones.

53 lines (52 loc) 1.4 kB
{ "name": "react-with-lifecycle", "version": "1.0.0", "description": "HOC to add lifecycle hooks to any component, even stateless ones.", "main": "dist/bundle.js", "scripts": { "build": "rollup -c", "flow": "flow check", "lint": "eslint src", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/bspaulding/react-with-lifecycle.git" }, "keywords": [ "react", "higher", "order", "component", "lifecycle" ], "author": "Bradley J. Spaulding", "license": "MIT", "bugs": { "url": "https://github.com/bspaulding/react-with-lifecycle/issues" }, "homepage": "https://github.com/bspaulding/react-with-lifecycle#readme", "dependencies": { "babel-plugin-transform-flow-strip-types": "^6.18.0", "babel-preset-es2015-rollup": "^1.2.0", "babel-preset-react": "^6.16.0", "flow-bin": "^0.33.0", "jest": "^16.0.2", "rollup": "^0.36.3", "rollup-plugin-babel": "^2.6.1" }, "devDependencies": { "babel-eslint": "^7.1.0", "babel-jest": "^16.0.0", "babel-polyfill": "^6.16.0", "babel-preset-es2015": "^6.18.0", "enzyme": "^2.5.1", "eslint": "^3.8.1", "eslint-plugin-flowtype": "^2.25.0", "eslint-plugin-react": "^6.4.1", "flow-typed": "^2.0.0", "react": "^15.3.2", "react-addons-test-utils": "^15.3.2", "react-dom": "^15.3.2" } }