react-swap
v1.0.3 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