compiling-typescript
compiling-typescript copied to clipboard
A Simple, Extensible TypeScript Application
Compiling TypeScript
Installing and Running the Completed Package
-
OPTIONAL - Install the TypeScript compiler globally (local install is also possible):
npm install -g typescript -
Install this package with Git:
git clone [email protected]:danielstern/compiling-typescript.git -
Install local packages with
npm:npm install -
Run TypeScript compilation and start the server simultaneously with:
npm start
Exploring the Project
/public
Contains HTML file which is served to the user - aggregates references to generated .js files.
/src
Contains the non-compiled TypeScript code. This code becomes JavaScript that the browser can work with.