react-swap
v2.0.3 component react-component react react-swap swap toggle switch hover dropdown and 1 more...
build
yarn lib && yarn dist
start
NODE_ENV=development webpack-dev-server --config ../../webpack/dev.config.js
predist
rm -rf ./build
dist
NODE_ENV=production webpack-cli --config ../../webpack/dist.config.js && NODE_ENV=production webpack-cli --config ../../webpack/min.config.js
preghPages
yarn pub
ghPages
gh-pages --dist ./pub --repo [email protected]:nkbt/react-swap.git --user [email protected] --branch gh-pages --message 'Publish examples'
prelib
rm -rf ./lib
lib
NODE_ENV=production babel --config-file ../../.babelrc src --out-dir lib
lint
eslint .
prepub
rm -rf ./pub
pub
NODE_ENV=production webpack-cli --config ../../webpack/pub.config.js
test
node test/Component-test.js
prepublishOnly
yarn build
postversion
git push --follow-tags
deps
! depcheck --specials=bin,eslint --ignore-dirs=build,lib,pub | grep --invert-match 'No depcheck issue'