Starting a Typescript cli project instantly.
Clone this boilerplate by git:
git clone https://github.com/backrunner/ts-cli-boilerplate.git -b main --depth 1
And installing dependencies by npm:
npm install
After installing, modify the properties in the package.json
, like name
, homepage
, repository
, and so on.
Also remember to modify the Readme.md
.
Finally using npm run build
to build your project.
We created a command line interface tool called create-typescript-cli
, you can use it to create your project faster.
npm create typescript-cli
-
Rollup (with babel, node-resolve, json plugins).
-
TypeScript and Babel.
-
Commander.js, Inquirer.js, chalk.
-
eslint
witheslint-config-alloy
andprettier
.
MIT