UNPKG

with-lifecycles

Version:

An easy way to turn stateless functional components into class components with state and lifecycles.

43 lines (42 loc) 979 B
{ "name": "with-lifecycles", "version": "1.0.1", "description": "An easy way to turn stateless functional components into class components with state and lifecycles.", "main": "lib/index.js", "module": "es/index.js", "files": [ "css", "es", "lib", "umd" ], "scripts": { "build": "nwb build-react-component", "clean": "nwb clean-module", "test": "nwb test-react", "test:coverage": "nwb test-react --coverage", "test:watch": "nwb test-react --server", "prepublishOnly": "npm run build", "release": "standard-version" }, "dependencies": { "lodash.flatten": "^4.4.0" }, "peerDependencies": { "react": "16.x" }, "devDependencies": { "nwb": "0.22.x", "react": "^16.4.0", "react-dom": "^16.4.0", "standard-version": "^4.4.0" }, "author": "Harry Wolff <hello@hswolff.com>", "license": "Apache-2.0", "keywords": [ "react-component", "react", "lifecycles", "hoc" ] }