create-ts-cli

Create basic type script cli app with webpack.


Keywords
typescript, create
License
MIT
Install
npm install create-ts-cli@1.0.5

Documentation

Quick Overview

npm install -g create-ts-cli;
create-ts-cli;
Enter project name [app] : test-cli-app
cd test-cli-app;
npm install;
npm start;

Demo

Demo gif for create-ts-cli

Get Started Immediately

You don’t need to install or configure tools like Webpack or ts-node.
They are preconfigured and hidden so that you can focus on the code.

Just create a project, and you’re good to go.

Commands

npm start - Execute your app without build npm run build - Build your app to dist directory npm run pro - Execute your app from dist directory npm run clean - Clean dist directory

Project

test-cli-app
├── README.md
├── node_modules
├── tsconfig.json
├── webpack.config.js
├── package.json
├── .gitignore
├── src                      <--- working directory
│   └── app.ts
└── dist                     <--- files after build
    └── app.js

License

Create React App is open source software licensed as MIT.