@render-props/scrollable
v0.1.15 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:cjs
build:es
rimraf es && cross-env NODE_ENV=production BABEL_ENV=es babel src --out-dir es && npm run prettier:es
build:cjs
rimraf cjs && cross-env NODE_ENV=production BABEL_ENV=cjs babel src --out-dir cjs && npm run prettier:cjs
build:publish
yarn run build && yarn publish --access public
edit
atom ./
watch:es
cross-env NODE_ENV=development 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:cjs
prettier --single-quote --no-semi --no-bracket-spacing --trailing-comma es5 --write "cjs/**/*.js"
npm i @render-props/[email protected]
Source Code
github.com/jaredlunde/render...Metadata
- MIT
- Whatever
- Jared Lunde
- released 9/10/2018