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
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.