@suparth_ghimire/ts-template
v2.2.6
Published
This is a simple script to initialize a typescript project for development and production environment with a single command. You dont have to initialize scripts for compilers and other stuffs. This script will do it for you.
Readme
Typescript Project Initializer
This is a simple script to initialize a typescript project for development and production environment with a single command. You dont have to initialize scripts for compilers and other stuffs. This script will do it for you.
pnpm is used as default package manager. You can change it to others if you want
Files Generated
- 📄 package.json
- 📄 tsconfig.json
- 📄 tsup.config.ts
- 📄 .gitignore
- 📄 src/index.ts
- 📄 pnpm-lock.yaml
Installation
pnpm install -g @suparth_ghimire/ts-templateInitialize your Project
ts-template initAnswer 3 Questions that the prompt asks you
Install Packages
- pnpm
pnpm installRun your Project
Development
pnpm run devBuild
pnpm buildStart
pnpm start