Create basic type script cli app with webpack.


Keywords
typescript, create
License
MIT
Install
npm install create-ts-cli@4.8.4-fix-4

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.