10000 GitHub - drxc00/ts-init: Yet another typescript CLI tool.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

drxc00/ts-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-init

Setting up a tsconfig.json can be confusing and time-consuming — TS-INIT simplifies the process. It's a lightweight CLI tool that helps you quickly scaffold a clean, minimal TypeScript project. Perfect for starting small projects or experimenting with TypeScript without the hassle.

Installation

npm install -g @drxc00/ts-init

Usage

npx ts-init || npx ts-init [options]

Options

Option Description
-n, --name <name> Project name (default: "ts-app")
-d, --description <description> Project description
-t, --transpile <transpile> Enable TypeScript transpilation (default: true)
-o, --output-dir <outputDir> Output directory for transpiled files (default: "dist")
-l, --library <library> Configure as a library project (default: false)
-m, --monorepo <monorepo> Configure for monorepo usage (default: false)
-b, --dom <dom> Configure for browser/DOM usage (default: false)
-i, --init <init> Initialize the project (default: true)

Example

ts-init --name my-project --description "My awesome project" --transpile true --output-dir build

Development

To contribute or modify:

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Make your changes
  4. Build the project:
    npm run build

Acknowledgement

About

Yet another typescript CLI tool.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0