@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.
Downloads
5
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-template
Initialize your Project
ts-template init
Answer 3 Questions that the prompt asks you
Install Packages
- pnpm
pnpm install
Run your Project
Development
pnpm run dev
Build
pnpm build
Start
pnpm start