The Enonic TypeScript Starter
Contents
Covers the details of the Enonic TypeScript starter, and how to set up a similar environment in existing Enonic projects.
Usage
| You do not need to read this tutorial to use the TypeScript starter, Skip directly to the fun stuff by running: |
enonic project create -r starter-ts
Introduction
This tutorial is aimed at developers that want to understand how the TypeScript starter was created, and/or want to make use of the same setup in an existing Enonic project.
The tutorial covers:
-
Essential concepts
-
Setting up the Build system
-
How to enable Type checking
-
Activating Linting
-
Preparing for Testing
| If you want to learn more about writing tests in TypeScript, you can check out the Testing with Jest and Mock XP tutorial. |