Skip to content

Instantly share code, notes, and snippets.

@VictorVelarde
Created July 4, 2019 17:13
Show Gist options
  • Save VictorVelarde/5c1e0f5015de3598f82ab251f89e4247 to your computer and use it in GitHub Desktop.
Save VictorVelarde/5c1e0f5015de3598f82ab251f89e4247 to your computer and use it in GitHub Desktop.
[New node project]
#!/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