A template to bootstrap a Node.js CJS app written in TypeScript with ESLint & Jest all wired-up
git clone [email protected]:maxleiko/tpl-node-app.git
cd tpl-node-app
git remote set-url origin <YOUR_REPO_URL>
yarn
clean
: clean the generated bundlelint
: lints thesrc
folder usingESLint
test
: runs the test directly from TypeScript sources usingmocha
build
: bundles the whole app intodist/index.js
using@vercel/ncc
package
: creates a standalone binary usingnexe
start
: builds & runs your CLI appdocker
: builds aDocker
image targettingalpine