1.0.1 • Published 1 year ago
evision-calc v1.0.1
npm i => to restore node modules
- tsc --int for tsconfig.json
- npm init -y for package.json
Update package.json, add "type": "module" at root level Update tsconfig.json, "target": "ES2022", "module": "NodeNext", "moduleResolution": "NodeNext",
npm i inquirer npm i chalk chalk npm i chalk chalk-animation
npm i @types/node -D npm i @types/inquirer -D npm i @types/chalk -D npm i @types/chalk-animation -D
import inquirer, chalk and chalkAnimation in index.tsc #shebang not works for windows, no needed on windows
npm login npm publish