/ts-vscode-template

This is a minimal TypeScript project template

Primary LanguageTypeScriptCreative Commons Zero v1.0 UniversalCC0-1.0

ts-vscode-template

This is a minimal TypeScript project template for use with VS Code.

VS Code's Extensions to use this template

  • ESLint (Optional) : A static code analysis tool.

    • This extension doesn't have own bundled eslint module, so this template includes eslint module within the package.json.
  • Prettier (Recommended) : An opinionated code formatter.

    • This extension has own bundled prettier module.
    • If you want to use prettier module from your project's local dependencies, install prettier module in your project:
      # Install prettier locally
      npm install --save-dev --save-exact prettier
  • Code Spell Checker (Recommended) : A basic spell checker.

Getting Started

Before to use this template, make sure you're running the latest version of VS Code. And Node.js (which comes with npm) installed on your computer.

  1. Download this template and Unzip to your project folder.
  2. Open your project folder in VS Code.
  3. Install dependencies:
    # Install dependencies
    npm install
  4. Enjoy coding with TypeScript!

Debugging

  1. Go to the Run view and select 'Launch Program' or press F5 key to start debugging.
  2. Set breakpoints in any of the files.

License

CC0 1.0 (Public Domain)