This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "Node project name: " | |
| read project_name | |
| if [ -d "$project_name" ]; then | |
| echo "Project already exists." | |
| elif [ -z "$project_name" ]; then | |
| echo "You didn't enter a name." | |
| else | |
| git clone --depth=1 https://github.com/Microsoft/TypeScript-Node-Starter.git $project_name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "React project name: " | |
| read project_name | |
| if [ -d "$project_name" ]; then | |
| echo "Project already exists." | |
| elif [ -z "$project_name" ]; then | |
| echo "You didn't enter a name." | |
| else | |
| create-react-app $project_name --scripts-version=react-scripts-ts |