Last active
November 5, 2021 09:45
-
-
Save brettstack/99597a01f39a23e91f1d9ce91a36d558 to your computer and use it in GitHub Desktop.
Node 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
# https://philna.sh/blog/2019/01/10/how-to-start-a-node-js-project/ | |
npm set init.author.name "Brett Andrews" | |
npm set init.author.email "[email protected]" | |
npm set init.author.url "https://halfstack.software" | |
npm set init.license "MIT" | |
npm set init.version "1.0.0" | |
git init | |
npx license $(npm get init.license) -o "$(npm get init.author.name)" | |
npx gitignore node | |
npx covgen "$(npm get init.author.email)" | |
npm init -y | |
git add -A | |
git commit -m "chore: initial commit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment