Created
May 1, 2020 18:43
-
-
Save YamilG/0ab79ff884a2c1816eaa4f3e64a8a6ff to your computer and use it in GitHub Desktop.
Node Project Init
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
function node-project { | |
git init | |
npx license $(npm get init.license) -o "$(npm get init.author.name)" > LICENSE | |
npx gitignore node | |
npx covgen "$(npm get init.author.email)" | |
npm init -y | |
git add -A | |
git commit -m "Initial commit" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment