Last active
December 11, 2021 13:03
-
-
Save markodayan/87ca2070d382ce4d0f0360fe46525224 to your computer and use it in GitHub Desktop.
repetitive stuff with node
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
npm init -y | |
echo "node_modules\n.env" > .gitignore | |
echo "# Node.js Boilerplate Sample" > README.md | |
touch .env | |
mkdir -p src/test && touch src/index.js | |
mkdir -p src/lib | |
mkdir -p .github/workflows && touch .github/workflows/actions.yaml | |
mkdir .vscode && touch .vscode/settings.json | |
touch .prettierrc | |
git init | |
chmod +x .git/hooks/pre-commit | |
npm i dotenv | |
npm i -D nodemon mocha chai prettier [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment