Skip to content

A template to prevent developers from doing things over and over again.

License

Notifications You must be signed in to change notification settings

ProxityStudios/typescript-starter

Repository files navigation

This source is designed to prevent developers from doing things over and over again.

Features

  • Logging
  • Environment system

Included Packages

  • yargs
  • dotenv
  • tslog

Included Dev Packages

  • @types/node
  • @types/yargs
  • @typescript-eslint/eslint-plugin
  • @typescript-eslint/parser
  • eslint
  • eslint-config-airbnb-base
  • eslint-config-airbnb-typescript
  • eslint-config-prettier
  • eslint-formatter-pretty
  • eslint-plugin-eslint-comments
  • eslint-plugin-import
  • eslint-plugin-prettier
  • eslint-plugin-promise
  • eslint-plugin-unicorn
  • npm-run-all
  • prettier
  • rimraf
  • ts-node-dev
  • typescript

Recommended Extensions

We recommend you to install these extensions.

  • Extension prettier (esbenp.prettier-vscode)
  • Extension todo highlight (wayou.vscode-todo-highlight)
  • Extension eslint (dbaeumer.vscode-eslint)

Scripts

Install dependencies

npm run install

Start the project. You must build the project by using npm run build command

npm run start

Start the project in development environment

npm run dev

Build the project

npm run build

Clean compiled code

npm run clean-build

Fix eslint & prettier errors

npm run format

Guides

Setup Guide

  1. Install dependencies by using this script
  2. Rename .env.development example file to .env.development
  3. Start application by using this script
  4. Code somethings...

Production Usage

  1. Build the project by using this script
  2. Rename .env example file to .env
  3. Start application by using this script

TODO Highlighting Extension Guide

If you have extension "TODO Highlighting" , you can use these prefixes:

  • TODO: Something that should be done.
  • BUG: Use this prefix if you write something about the bug.
  • REVIEW: Something that should be reviewed.

License

This project licensed with MIT license