hoist-non-react-methods

v1.1.0
Copies non-react specific methods from a child component to a parent component
react

test

mocha --reporter spec --compilers js:babel-core/register --recursive

build:clean

rimraf lib coverage

build:js

babel -s -d lib/ src/

build

npm run build:clean && npm run build:js

watch:js

watch 'npm run build:js' src/

watch

npm run build:clean && parallelshell 'npm run watch:js'

watch:build

npm run build:clean && npm run watch

watch:test

npm test -- -w

prepublish

npm run build

test:cov

babel-node ./node_modules/isparta/bin/isparta cover ./node_modules/mocha/bin/_mocha -- --recursive

lint

eslint src test
npm i hoist-non-react-methods

Metadata

  • MIT
  • Whatever
  • Elad Ossadon
  • released 1/23/2018

Downloads

Maintainers