Skip to content

isBatak/typescript-cli-starter

Repository files navigation

typescript-cli-starter

A Typescript CLI starter template.

GitHub package.json dynamic

GitHub GitHub package.json version GitHub top language

GitHub last commit

Includes:

Your application will be installable from npm or by sharing your native executables.

Usage

dev

pnpm run dev

Runs the CLI application.

You can pass arguments to your application by running pnpm run dev -- --your-argument. The extra -- is so that your arguments are passed to your CLI application, and not pnpm.

clean

pnpm run clean

Removes any built code and any built executables.

build

pnpm run build

Cleans, then builds the TypeScript code.

Your built code will be in the ./dist/ directory.

test

pnpm run test

Cleans, then builds, and tests the built code.

bundle

pnpm run bundle

Cleans, then builds, then bundles into native executables for Windows, Mac, and Linux.

Your shareable executables will be in the ./exec/ directory.

About

A Typescript CLI starter template.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published