A fully-configured TypeScript project template.
This is a fully-configured TypeScript project template, featuring...
- Yarn for package management and project scripts.
- A boilerplate TypeScript configuration.
- Linting and formatting with ESLint, Prettier, and the AirBnB style guide.
- Integration with Jest for test-driven development.
- Pre-commit hooks with Husky, CommitLint, and LintStaged.
- Pre-built GitHub issue templates and workflows.
- Click on "use this template" to create your repository.
- Use
git cloneto copy the new repository to your machine. - Run
yarn installto install all of the project dependencies.
- After installing dependencies, you can start coding in the
srcfolder. - Setup your unit tests in the
testsfolder, or remove it and uninstall Jest if you don't need it. Make sure to remove all Jest-related packages, including the ESLint plugin, if you won't need it. - Change
README.mdand theLICENSEpage as needed. - You can use
yarn run lint:fix,yarn run format:fix, andyarn run testto ensure your project is healthy. - Ensure your commits meet Conventional Commit requirements, as enforced by Husky and CommitLint. If the hooks did not properly install, run
yarn husky install.
Distributed under the MIT License. See LICENSE for more information.