feat(scripts): add new scripts

This commit is contained in:
hexxa 2021-09-14 16:25:09 +08:00 committed by Hexxa
parent 2dc156cd95
commit b82fc6e8af
4 changed files with 57 additions and 0 deletions

8
scripts/copy_js_dev.sh Normal file
View file

@ -0,0 +1,8 @@
#!/bin/bash
set -o nounset errexit
export ROOT=`pwd`
yarn
cp $ROOT/node_modules/immutable/dist/immutable.min.js $ROOT/public/static/js/
cp $ROOT/node_modules/react-dom/umd/react-dom.development.js $ROOT/public/static/js/
cp $ROOT/node_modules/react/umd/react.development.js $ROOT/public/static/js/