This is a template project, meaning it is created to be copied or forked to serve as a base for other software.
It comes equipped with:
- Babel
- Jest
- a sensible
.gitignore
- a couple of dummy (Typescript) source files to demonstrate it works and is testable
- Typescript configuration
- ESLint configured with some opinion (and not to conflict with Prettier)
- Prettier
Take the files and use them to start your own Javascript project.
yarn
install everythingyarn build
build Javascript from Typescript and put the files in the specified folderyarn test
run all tests with Jestyarn start
usesindex.ts
as the entry pointyarn lint
check code style and list errors & warningsyarn prettier
fix formatting (will make changes, but not commit them)