Created
July 4, 2019 17:13
-
-
Save VictorVelarde/5c1e0f5015de3598f82ab251f89e4247 to your computer and use it in GitHub Desktop.
[New node project]
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
#!/bin/bash | |
# Simple new-node-project | |
project_name=$1 | |
echo "new-node-project $project_name" | |
mkdir -p $project_name | |
cd $project_name | |
git init | |
npx gitignore node | |
npm init -y | |
git add -A | |
git commit -m "Initial commit" | |
code . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment