Skip to content

Instantly share code, notes, and snippets.

@kunokdev
Last active April 1, 2019 00:24
Show Gist options
  • Save kunokdev/b02fdfb6ab189ec948ee676fbb17c150 to your computer and use it in GitHub Desktop.
Save kunokdev/b02fdfb6ab189ec948ee676fbb17c150 to your computer and use it in GitHub Desktop.
Initialize npm and edit package.json
cd item-service
# Initialize npm directory
yarn init
# Create entrypoint file
touch main.js
# Create .gitignore
touch .gitignore
echo "node_modules" >> .gitignore
# Add development dependency
yarn add -D nodemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment