Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhmushan/dev_server
Feel free to import TypeScript files in the script tag!
https://github.com/zhmushan/dev_server
deno
Last synced: 17 days ago
JSON representation
Feel free to import TypeScript files in the script tag!
- Host: GitHub
- URL: https://github.com/zhmushan/dev_server
- Owner: zhmushan
- License: mit
- Created: 2020-05-02T08:04:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-29T05:53:58.000Z (about 3 years ago)
- Last Synced: 2024-10-04T13:14:49.336Z (about 1 month ago)
- Topics: deno
- Language: TypeScript
- Size: 354 KB
- Stars: 22
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-deno - dev_server - 让TypeScript文件直接在script标签中使用。 (Uncategorized / Uncategorized)
- awesome-deno-cn - @zhmushan/dev_server
- awesome-deno - dev_server - Let TypeScript files be used directly in the script tag.![GitHub stars](https://img.shields.io/github/stars/zhmushan/dev_server?style=plastic) (Tools / Online Playgrounds)
- awesome-deno - dev_server - Let TypeScript files be used directly in the script tag. (Tools / XML)
README
# Dev Server
Feel free to import TypeScript files in the script tag!
[![tag](https://img.shields.io/github/tag/zhmushan/dev_server.svg)](https://github.com/zhmushan/dev_server)
[![Build Status](https://github.com/zhmushan/dev_server/workflows/ci/badge.svg?branch=master)](https://github.com/zhmushan/dev_server/actions)
[![license](https://img.shields.io/github/license/zhmushan/dev_server.svg)](https://github.com/zhmushan/dev_server)
[![tag](https://img.shields.io/badge/deno->=1.0.0-green.svg)](https://github.com/denoland/deno)## Getting Started
Without install:
```sh
deno run -A --unstable https://deno.land/x/dev_server/mod.ts --template hello_world
```Install & Run it:
```sh
deno install -A --unstable https://deno.land/x/dev_server/mod.tsdev_server my_app --template hello_world
```Print help info:
```sh
dev_server -h
```Upgrade to the latest version:
```sh
deno cache --reload --unstable https://deno.land/x/dev_server/mod.ts
```Create project from template:
```sh
# Check from https://deno.land/x/dev_server/template/
dev_server my_app --template hello_world
dev_server my_app --template react
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