Last active
January 9, 2020 10:28
-
-
Save dasheck0/6439fcc014a9c72c99c6a9c3f868fc35 to your computer and use it in GitHub Desktop.
[Create node project] Some commands to easily set up node project with some information like license, code of conduct #boilerplate #nodejs #template
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
# npm set init.author.name "Your name" | |
# npm set init.author.email "[email protected]" | |
# npm set init.author.url "https://your-url.com" | |
# npm set init.license "MIT" | |
# npm set init.version "1.0.0" | |
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 init | |
git add -A | |
git commit -m "Initial commit" | |
git flow init -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment