- ✅ TypeScript.
- ✅ EsLint.
- ✅ EsBuild.
- ✅ Inquirer.
- ✅ Chalk.
- ✅ Gradient-string
- ✅ NSIS installer.
- ✅ Helpers
- Arguments parser.
- Spinner (loading).
- Start the project in development mode ( Hot Reload ).
- Build typescript files into javascript files.
- Start the project from the build folder.
- Bundle the project and its dependencies into a single minified file.
- Start the project from the bundle folder.
⚠️ ⚠️ For Windows only
- Creates an NSIS installer to install your CLI to Windows.
- First, you need to install
NSIS
to your system via PowerShellwinget install NSIS.NSIS
. - The installer will add the installation folder path to the
PATH
system variable. - By default, the installer will include Node.js.
- To change the installer icon and banner, replace the files in
.\scripts\installer-assets
- The script will get the installer information from the
package.json
file. - See
.\scripts\build-installer.js
for more information.
- First clone the project.
git clone https://github.com/alabsi91/nodejs-cli-typescript-nsis-template.git
- Then go to the project folder and install the dependencies.
npm install