A simple template for a TypeScript project.
It provides:
- TypeScript: JavaScript with syntax for types
- ESLint: Linter
- Prettier: Code formatter
- esbuild: An extremely fast JavaScript bundler
- Jasmine: A behavior-driven development framework for testing JavaScript code
- nodemon: reload, automatically.
- Chai: A BDD / TDD assertion library
Just click here and start coding.
It contains ready-made scripts that can be used for development
npm run <script>
Scripts:
- "build": Just bundle code into one file
- "build:prod": Build and minify
- "test": Run tests
- "lint": Run linting
- "lint:fix": Run linting and fix it
- "watch": Linting and testing automatically
- "watch:test": Testing automatically
- "watch:lint": Linting automatically
Jürgen Rosenthal-Buroh @JuergenRB
TS-Boilerplate follows the Contributor Covenant Code of Conduct.