Skip to content

Feel free to import TypeScript files in the script tag!

License

Notifications You must be signed in to change notification settings

iacore/ts_dev_server

 
 

Repository files navigation

Typescript Dev Server

This is like python -m http.server, except it transpiles Typescript files to ESM.

Getting Started

I mean just clone this repo and run deno install -g --allow-read --allow-write --allow-net --allow-env mod.ts to install this program.

Create project from template (check under template/)

ts_dev_server my_app --template hello_world
ts_dev_server my_app --template react
ts_dev_server my_app --template angular

Quick Test

deno run --allow-read --allow-write --allow-net --unstable ./mod.ts ./template/hello_world

TODOs

  • Hot Module Replacement
  • CSS Pre-Processors
  • Building for Production

About

Feel free to import TypeScript files in the script tag!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 89.7%
  • HTML 9.7%
  • CSS 0.6%