This a minimal TypeScript starter with testing.
git clone https://github.com/gpazevedo/ts-starter folder # clones the repository
yarn install # installs the dependenciesWe can develop the application fully testing it, testing a specific component and checking the test coverage. To run the application we don't need to build it before.
Testing:
yarn test # Watch the source and execute all tests
yarn test component # Watch the component source and execute its tests
yarn test:coverage # Execute all tests and calculates the test coverageRunning:
yarn build # Compiles the source code to JavaScript
yarn cli # Run the CLI