An opinionated TypeScript bootstrap template.
-
Run the following commands to bootstrap a TypeScript project in your working directory:
Replace
my-typescript-projectin the commands below with your own preferred project name!npx degit peterthehan/typescript-bootstrap my-typescript-projectcd my-typescript-project/npm i -
You can run the following commands to verify your setup:
npm run lint && npm run build && npm testView package.json for more information.
You're ready to create your own TypeScript project! 🎉
The following resources detail how the configurations in this typescript-bootstrap template were determined:
-
- https://typescript-eslint.io/docs/#step-2-configuration
- https://github.com/prettier/eslint-plugin-prettier#recommended-configuration
- https://github.com/lydell/eslint-plugin-simple-import-sort
- https://github.com/mthadley/eslint-plugin-sort-destructure-keys
- https://github.com/leo-buneev/eslint-plugin-sort-keys-fix
- https://github.com/infctr/eslint-plugin-typescript-sort-keys