feature: support .spa files for Single Page Apps
This commit is contained in:
parent
604090d8b8
commit
9fc91f4cf4
11 changed files with 329 additions and 8 deletions
22
deno.json
22
deno.json
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@andyburke/serverus",
|
||||
"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.",
|
||||
"version": "0.13.0",
|
||||
"version": "0.14.0",
|
||||
"license": "MIT",
|
||||
"exports": {
|
||||
".": "./serverus.ts",
|
||||
|
|
@ -21,10 +21,14 @@
|
|||
"serverus": "deno --allow-env --allow-read --allow-write --allow-net ./serverus.ts"
|
||||
},
|
||||
"test": {
|
||||
"exclude": ["tests/data/"]
|
||||
"exclude": [
|
||||
"tests/data/"
|
||||
]
|
||||
},
|
||||
"fmt": {
|
||||
"include": ["**/*.ts"],
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"options": {
|
||||
"useTabs": true,
|
||||
"lineWidth": 140,
|
||||
|
|
@ -35,10 +39,16 @@
|
|||
}
|
||||
},
|
||||
"lint": {
|
||||
"include": ["**/*.ts"],
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
],
|
||||
"rules": {
|
||||
"tags": ["recommended"],
|
||||
"exclude": ["no-explicit-any"]
|
||||
"tags": [
|
||||
"recommended"
|
||||
],
|
||||
"exclude": [
|
||||
"no-explicit-any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"imports": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue