@render-props/scrollable
v0.1.6 react render props function as child hoc state container scroll onscroll scroller scroll animation and 1 more...
build
yarn run build:es && yarn run build:commonjs && yarn run build:dist
build:dist
rm -rf dist && rollup -c
build:es
rm -rf es && cross-env NODE_ENV=production cross-env BABEL_ENV=es babel src --out-dir es && npm run prettier:es
build:commonjs
rm -rf commonjs && cross-env NODE_ENV=production cross-env BABEL_ENV=commonjs babel src --out-dir commonjs && npm run prettier:commonjs
build:publish
yarn run build && yarn publish --access public
build:config
atom ./rollup.config.js:85:32
atom
atom ./
watch:es
cross-env NODE_ENV=development cross-env BABEL_ENV=es babel ./src -w --out-dir es
prettier:es
prettier --single-quote --no-semi --no-bracket-spacing --trailing-comma es5 --write "es/**/*.js"
prettier:commonjs
prettier --single-quote --no-semi --no-bracket-spacing --trailing-comma es5 --write "commonjs/**/*.js"
npm i @render-props/[email protected]
Source Code
github.com/jaredlunde/render...Metadata
- MIT
- Whatever
- Jared Lunde
- released 2/15/2018