1.0.2 • Published 1 year ago

ahmed-atm-cli-typescript v1.0.2

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

(npm i type-script-dice-guess-game)

(npx ahdgame)

initialized typescript enviroment through (npx tsc -init)

intialized node js enviroment (npm init -yes)

(npm i chalk)

(npm i chalk-animation)

(npm i inquirer)

(npm i nanospinner)

(npm install typescript --save-dev)

(npm i -g typescript)

(npx tsc --init)

(npm i ts-node-dev)

(npm install nodemon --save-dev)

(npm install @types/node --save-dev)

15)Add .js file with this at top : #! /usr/bin/env node

16)setup Json file(example) :

"bin": { "multiply": "bin/index.js" },

17)Test package locally(for example :

npx multiply

(npm i --save-dev @types/prompt-sync)

(npm i --save-dev @types/figlet)

(npm i --save-dev @types/gradient-string)

21)create or login your npm account

(npm login)

22)publish your package (npm publish