1. Project setup
Let's go step-by-step into initializing the project for this tutorial.ng bo
Initialize repository β
Create working directory β
# create folder & jump into it
mkdir vault-bot && cd vault-bot
# init your git repository
git initMark un-needed files as ignored for Git β
node_modules
.envInitialize Typescript package β
Create the Node.js package β
# using `-y` option will make the init use all the defaults options
npm init -yInstall dependencies β
Initialize Typescript configuration β
Setup the main script β
Create the script file β
Add a npm script to run it β
Verify that the setup works β
Last updated