/node-ts-base

Minimalistic boilerplate to Node.js development in TypeScript.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

node-ts-base

Boilerplate typescript development

TypeScript version Node.js version

All basic tools included and configured:

Create and start a new project

Use the following commands:

npx node-ts-base@latest <project name>

cd <project name>

npm run build:w

Available Scripts

  • clean - remove coverage data, Jest cache and transpiled files,
  • prebuild - lint source files and tests before building,
  • build - transpile TypeScript to ES6,
  • build:w - interactive watch mode to automatically transpile source files,
  • lint - lint source files and tests,
  • prettier - reformat files,
  • test - run tests,
  • test:w - interactive watch mode to automatically re-run tests
  • test:cover - run tests coverage,

License

Licensed under the APLv2. See the LICENSE file for details.