A basic TypeScript template for a development and testing environment.
- 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.
- There are no Known Bugs at this time.
Licensed under the MIT License. Copyright (c) 2022 Jake Edgar.