react-collapse
v5.1.0 component react-component react collapse slide-down slide-up
build
yarn lib && yarn dist
start
NODE_ENV=development webpack serve --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-collapse.git --user [email protected] --branch gh-pages --message 'Publish examples'
prelib
rm -rf ./lib
lib
NODE_ENV=production babel src --out-dir lib
lint
eslint .
prepub
rm -rf ./pub
pub
NODE_ENV=production webpack-cli --config ./webpack/pub.config.js
test
node test/Collapse-test.js
prepublishOnly
yarn build
postversion
git push --follow-tags
nuke
rm -rf node_modules yarn.lock
postnuke
yarn install
deps
! depcheck | grep --invert-match 'No depcheck issue'
offline-update
yarn cache clean && yarn install --force
offline
yarn install --pure-lockfile --offline