@suparth_ghimire/ts-template

2.2.6 • Public • Published

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

npm Github

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

Readme

Keywords

none

Package Sidebar

Install

npm i @suparth_ghimire/ts-template

Weekly Downloads

4

Version

2.2.6

License

MIT

Unpacked Size

24.8 kB

Total Files

10

Last publish

Collaborators

  • suparth_ghimire