An opiniated template for Typescript + ESM projects.
It includes:
-
typescript
+esm
for writing code (compiles to esm fornode
14+). -
esbuild
+dts-bundle-generator
for blazing fast builds. -
jest
for testing. -
xo
+prettier
for linting and formatting. -
husky
+lint-staged
for linting staged files before committing them. -
pnpm
for fast and efficient package management. -
wireit
for smarter and more efficient npm scripts. - a
contributing.md
,changelog.md
,license.md
andreadme.md
file.
To use this template, degit
it:
$ mkdir <project-name>
$ pnpx degit gamemaker1/typescript-template
$ pnpm install
Answer a couple of questions as part of the setup process, and get coding!
You can use this template for any project! The license.md
file in this
repository IS NOT the license for this template - it is part of the template,
and you can change it as you wish.