Compare commits
2 Commits
fc3d09a2b4
...
ce0e2968a1
Author | SHA1 | Date | |
---|---|---|---|
S.long | ce0e2968a1 | ||
S.long | f1aef83a82 |
22
README.md
22
README.md
|
@ -7,12 +7,22 @@ JS Library boilerplate is include with
|
|||
- Pre commit Prettier
|
||||
- Eslint
|
||||
|
||||
### Start Up
|
||||
### Get Started
|
||||
|
||||
---
|
||||
|
||||
- Re init git
|
||||
- Delete src/sample1.ts , src/sample2.ts
|
||||
- Delete test/sample1.test.ts, test/sample2.test.ts
|
||||
- Reconfig package.json , name , description, git url ...
|
||||
- Re construct example
|
||||
After View Sample Ready , Please Run
|
||||
```shell script
|
||||
bash init.sh
|
||||
```
|
||||
|
||||
This Script Will Reinit Project
|
||||
- Delete Sample File and SRC and Test
|
||||
- Clear src/index.ts
|
||||
- Reinitialize Git
|
||||
- Delete Example Folder
|
||||
|
||||
After Done This , Please reconfig package json
|
||||
- Name
|
||||
- Description
|
||||
- Git Repository Url
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
# 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
|
||||
|
||||
# Reinit Git
|
||||
git init
|
||||
|
||||
# Show Warning
|
||||
echo "Please Goto package.json and change Name , Description, Git Url of this library"
|
Loading…
Reference in New Issue
Block a user