redux-devtools/packages/devui/.scripts/prepublish.sh

17 lines
395 B
Bash
Raw Normal View History

2019-01-03 16:00:55 +03:00
#!/bin/bash
# IMPORTANT
# ---------
# This is an auto generated file with React CDK.
# Do not modify this file.
# Use `.scripts/user/prepublish.sh instead`.
echo "=> Transpiling 'src' into ES5 ..."
echo ""
rm -rf ./dist
./node_modules/.bin/babel --ignore tests,stories --plugins "transform-runtime" ./src --out-dir ./lib
echo ""
echo "=> Transpiling completed."
. .scripts/user/prepublish.sh