react-swap

v1.0.3
React component-wrapper to swap one element with another and back
component react-component react react-swap swap toggle switch

build

npm run build:clean && npm run build:lib && npm run build:example

build:clean

rm -rf lib example

build:lib

babel src --out-dir lib --source-maps --ignore src/example

build:example

webpack

prepublish

npm run build

start

NODE_ENV=development webpack-dev-server --history-api-fallback

lint

eslint *.js src

test

npm run lint

Metadata

  • MIT
  • Whatever
  • Nik Butenko
  • released 7/3/2015

Downloads

Maintainers