An open API service indexing awesome lists of open source software.

https://github.com/unboundedsystems/typescript-docker-vscode-build-hello

Simple Hello World example that runs a Typescript build in a Docker container from VSCode.
https://github.com/unboundedsystems/typescript-docker-vscode-build-hello

containers docker typescript vscode

Last synced: 2 months ago
JSON representation

Simple Hello World example that runs a Typescript build in a Docker container from VSCode.

Awesome Lists containing this project

README

          

# `Hello World!` VSCode Example

This is an example [TypeScript](https://www.typescriptlang.org) program set up to do a watched build inside [VSCode](https://code.visualstudio.com/) using [ContainIt](https://github.com/unboundedsystems/containit).

The program itself is a simple `Hello World!` with a minimalist `tsconfig.json`, `package.json`, a `tasks.json` file to make everything work.

When VSCode is asked to run the Build Task, it will use [ContainIt](https://github.com/unboundedsystems/containit) to launch npm inside a container from the DockerHub `node:8` image to execute the build.

See this [video](https://youtu.be/f1uOrfX3sJc) for an explanation of the example.