Created
November 14, 2019 15:54
-
-
Save Ceheiss/fa8c6f01cde6b223513134e5636ef4d7 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
echo "Building a complete project for you" | |
cd ~/Documents/my-repos | |
mkdir $1 | |
cd $1 | |
mkdir src | |
mkdir dist | |
touch .gitignore | |
touch .babelrc | |
touch src/app.js | |
touch src/app.test.js | |
touch SET-UP.txt | |
curl https://gist.githubusercontent.com/Ceheiss/37cc7d21e87202722beb5cdc4840968d/raw/7468ebe27a2f0a08a8b6d5a6674052e1df42d556/SET-UP-FILE.txt > SET-UP.txt | |
npm init --yes | |
npm install --save-dev babel-cli | |
npm install babel-preset-env --save-dev | |
npm install jest --save-dev | |
npm install --save-dev babel-jest | |
npm install --save-dev @babel/core | |
npm install --save-dev @babel/preset-env | |
npm install --save-dev prettier | |
code . | |
code SET-UP.txt | |
echo "Remember to modify .babelrc file, fill gitignore, and update scripts in the json-package" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment