1.0.4 • Published 4 years ago
sulemankhan-todo v1.0.4
- Make sure everything is working
node --version npm --version tsc --version
Initialize project
npm init --yes
Add configuration file
tsconfig.json
for typescriptWrite typescript code in
src
folder and compile it usingtsc
command, and it will generate javascript code indist
folder. Run the code usingnode dist/index.js
Implement TodoItem, and TodoCollection.
Install inquirer pacakge
npm install inquirer@7.3.3 npm install --save-dev @types/inquirer
Install lowdb
npm install lowdb@1.0.0 npm install --save-dev @types/lowdb