Skip to content

mashaal/civil-war-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Civil War Explorer

Requires Deno 1.20.6+

Dev

deno task dev will start a local server on port 8000.

Vendor

deno task vendor will create a vendored import map: vendorMap.json.

You can plug this back into Ultra in the deno.json config file.

{
  "tasks": {
    // tasks omitted for clarity
  },
  "importMap": "vendorMap.json" // use either importMap.json or vendorMap.json
}

Note: You will need to restart the server when swapping import maps.

Start

deno task start will run the server in production mode. Cached ESM imports, and no websocket reloader. Uses whichever import map you have defined.

Cache

deno task cache will refresh the cache for server.ts. This can be useful if you run into any issues when swapping in between vendored and CDN import maps.

About

School project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.7%
  • SCSS 3.8%
  • Dockerfile 0.5%