typescript-boilerplate
A quick start repo for typescript projects.
Contains these tools:
- Prettier for code formatting
- ESLint for linting
- .env for loading environment variables
- My favorite logging library, electron-log
All of your typescript files should go in the ./src
directory, and the compiled javscript will be available at ./dist
.
Setup
- Install the dependencies
yarn
- Start the project. Typescript will be compiled automatically.
yarn start
You can now lint your project with yarn lint
.