js-lib-boilerplate/init.sh

30 lines
474 B
Bash
Raw Normal View History

2020-08-28 16:21:12 +07:00
# Remove Sample in src
rm -rf src/sample*
# Make src/index.ts Empty
echo "" > src/index.ts
# Remove Sample in Test
rm -rf test/*
# Remove Built
rm -rf dist
# Remove Example
rm -rf example
# Remove Self Init Script For Prevent Next time wrong on init
rm -f ./init.sh
2020-09-09 14:25:58 +07:00
# Remove Current Repo
git remote rm origin
2020-08-28 16:21:12 +07:00
# Reinit Git
git init
2020-09-09 16:52:03 +07:00
# Remove Readme
rm -f README.md
2020-08-28 16:21:12 +07:00
# Show Warning
echo "Please Goto package.json and change Name , Description, Git Url of this library"