Skip to content
/ ts-template Public template

A TypeScript Template for users that need a ready to go testing environment for their projects.

License

Notifications You must be signed in to change notification settings

jakeedgar/ts-template

Repository files navigation

TS Template

By Jake Edgar

TypeScript Logo

A template for TypeScript Projects.

Technologies Used

Description

A basic TypeScript template for a development and testing environment.

Setup/Installation Requirements

  • Navigate to your preferred code editing software.
  • Clone this repository to your desktop by using the command git clone followed by this link https://github.com/jakeedgar/ts-template
  • Navigate to the top level of the directory.
  • Ensure NPM is install by running with the command NPM -v in your terminal, and if it is not use your preferred installer to install NPM.
  • Run NPM init -y to initialize your project.
  • Run NPM install to install dependencies.
  • If you plan to update the project make sure you push the .gitignore file to github first by using git add .gitignore and then pushing it to your personal github.
  • Run npm install --save-dev @babel/preset-typescript to Install Babel.
  • Run npm install --save-dev eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin to Install the EsLint Parser and Plugin.
  • Run NPM install --save-dev dotenv-webpack ts-loader typescript webpack webpack-cli webpack-dev-server to Install the DotENV loader and webpack dependency.
  • Run NPM install --save-dev prettier to Install the Prettier dependency.
  • Run NPM run bundle && npm-run-all --parallel watch serve to build the project environment.
  • Run NPM run start to run the program in your browser.
  • Run NPM run test to run Jest.

Known Bugs

  • There are no Known Bugs at this time.

License

Licensed under the MIT License. Copyright (c) 2022 Jake Edgar.

About

A TypeScript Template for users that need a ready to go testing environment for their projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published