Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

zlumer/typescript-node-basic

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript-node-basic

Project structure for a simple Node.js + TypeScript app

Press Ctrl+Shift+B to build the project. You will see compiler output in the output window (Ctrl+Shift+U).

The compiler will compile files automatically when saved.

To stop the compilation, press Ctrl+P> Tasks: Terminate Running Task.

JS source maps are excluded from git to reduce clutter, you can re-enable them in .gitignore.

Press F5 to run application.

src/app.ts ← code goes here
test/test.ts ← tests go here

Source code

Put your code under src/*.ts

Run app using node js/src/app.js

Tests

Put your tests under test/*.ts

Run tests using mocha "js/test/**/*.js"

About

Project structure for a simple Node.js+TypeScript app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.