An opinionated TypeScript bootstrap template.
-
Run the following commands to bootstrap a TypeScript project in your working directory:
Replace
my-typescript-project
in the commands below with your own preferred project name!npx degit peterthehan/typescript-bootstrap my-typescript-project
cd my-typescript-project/
npm i
-
You can run the following commands to verify your setup:
npm run lint && npm run build && npm test
View 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