1.0.0 • Published 1 year ago

farooqcalculator v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Steps

1.Open CMD and execute the below commands node -v tsc -v

2.create a folder of calculator and open vs code open terminal and execute the foloowings tsc --init create tsconfig,json npm init -y create package.json 3.open tsconfig file and make folloing chanages target ="ES2022" module ="NodeNext" moduleresolution =NodeNext 4. open package.json Add type::module 5. execute folloingcommands on Shell npm i @types/node -D //.. this will be added un devDependencies //.. node_Modules folder will be created 6. Create Hello Word Program to test ur Configuration 7. Now configure Inquirer npm i Inquirer npm i @types/Inquirer -D //..add intelisence 8. craete .gitignore file at root lever .gitignore 9. Add chalk packages npm i chalk chalk-animation npm i @types/chalk -D npm i @@types/chalk-animation -D 10. now start creating project and add shebang entry in index.js file #!/usr/bin/env node

  1. inorder to publish ur project first create login on https://www.npmjs.com/