Skip to content

avdg/typescript-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript-template

Basic typescript project

Dependency Status Dev dependency Status

Requirements

  • Node and npm, which are bundled in one installer that can be found on http://nodejs.org/

Install

  • Run npm install to install dependencies.

Writing code

  • Write code in src/
  • Use import and export statements to split up your javascript/typescript code.
  • src/main.ts or src/main.js is the file that will be executed first with this setup. Other files are only executed by importing these files.

Testing / running code

  • Make sure npm start is running.
  • After compiling without errors, an (updated) js file will appear in dist/main.js. This is your export file and contains all code that is consumed by src/main.ts or src/main.js. The dist/main.js file is your final product.

Enjoy!

About

Basic typescript project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published