@drxc00/ts-init
v1.0.1
Published
Yet another typescript tool.
Readme
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-initUsage
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 buildDevelopment
To contribute or modify:
- Clone the repository
- Install dependencies:
npm install - Make your changes
- Build the project:
npm run build
