IntegerAlex / ts-strict-setup

CLI tool that sets up a TypeScript project with a minimal yet well-configured environment in a single command
GNU General Public License v3.0
0 stars 2 forks source link
cli collaborate eslint eslint-typescript npm-package npx typescript

ts-strict-setup

FOSSA Status npm version License: GPL-3.0 DeepScan grade DeepSource

ts-strict-setup is a CLI tool that sets up a TypeScript project with a minimal yet well-configured environment in a single command. Perfect for developers who want a quick and efficient way to get started with TypeScript.

Features

Installation

You can use npx to run the CLI tool without installing it globally:

Using npx (recommended) Dont worry npx is already installed with npm

To use the CLI tool with npx:

npx ts-strict-setup -y

Run the command and follow the prompts:

npx ts-strict-setup -y

You will be prompted to enter a project name. The tool will then create a new project directory with the following structure:

<project-name>/
├── src/
│   └── index.ts
├── lib/
├── test/
│   └── index.test.ts
├── dist/
├── views/
│   └── index.html
├── .eslintignore
├── eslint.config.js
├── package.json
├── tsconfig.json

conformation

    cd <project-name>
    npm run dev

Usage

To use the CLI tool, run the following command:

cd <project-name> change the directory
npm run lint

npm run dev

npm run build

npm run start

npm run test

Configuration

The tool sets up the following configurations:

TypeScript Configuration

The tsconfig.json file includes settings for:

ESLint Configuration

The eslint.config.js file includes:

Tutorials

For a step-by-step guide, check out our YouTube tutorials:

Linux-Based Tutorial

Linux Tutorial

Windows-Based Tutorial

Windows Tutorial

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under GPL-3.0. See the LICENSE file for details.

FOSSA Status

Contact

For questions or support, please contact inquiry.akshatkotpalliwar@gmail.com .