2025-06-19 15:43:01 -07:00
{
"name" : "@andyburke/serverus" ,
2025-06-19 15:55:35 -07:00
"description" : "A flexible HTTP server for mixed content. Throw static files, markdown, Typescript and (hopefully, eventually) more into a directory and serverus can serve it up a bit more like old-school CGI." ,
2025-06-22 14:22:23 -07:00
"version" : "0.0.11" ,
2025-06-19 15:43:01 -07:00
"license" : "MIT" ,
"exports" : {
"." : "./serverus.ts" ,
"./cli" : "./serverus.ts" ,
"./server" : "./server.ts" ,
"./handlers/markdown" : "./handlers/markdown.ts" ,
"./handlers/static" : "./handlers/static.ts" ,
"./handlers/typescript" : "./handlers/typescript.ts"
} ,
"tasks" : {
"lint" : "deno lint" ,
"fmt" : "deno fmt" ,
"test" : "DENO_ENV=test DATA_STORAGE_ROOT=./tests/data/$(date --iso-8601=seconds) deno test --allow-env --allow-read --allow-write --allow-net --trace-leaks --fail-fast ./tests/" ,
2025-06-19 16:27:10 -07:00
"build" : "deno compile --allow-env --allow-read --allow-write --allow-net --include handlers ./serverus.ts -o serverus" ,
2025-06-19 15:43:01 -07:00
"serverus" : "deno --allow-env --allow-read --allow-write --allow-net ./serverus.ts"
} ,
"test" : {
"exclude" : [ "tests/data/" ]
} ,
"fmt" : {
"include" : [ "**/*.ts" ] ,
"options" : {
"useTabs" : true ,
"lineWidth" : 140 ,
"indentWidth" : 4 ,
"singleQuote" : true ,
"proseWrap" : "preserve" ,
"trailingCommas" : "never"
}
} ,
"lint" : {
"include" : [ "**/*.ts" ] ,
"rules" : {
"tags" : [ "recommended" ] ,
"exclude" : [ "no-explicit-any" ]
}
} ,
"imports" : {
"@std/assert" : "jsr:@std/assert@^1.0.11" ,
"@std/async" : "jsr:@std/async@^1.0.13" ,
"@std/cli" : "jsr:@std/cli@^1.0.19" ,
"@std/fmt" : "jsr:@std/fmt@^1.0.6" ,
"@std/fs" : "jsr:@std/fs@^1.0.14" ,
"@std/http" : "jsr:@std/http@^1.0.13" ,
"@std/media-types" : "jsr:@std/media-types@^1.1.0" ,
"@std/path" : "jsr:@std/path@^1.0.8" ,
"@std/testing" : "jsr:@std/testing@^1.0.9"
}
}