chore: flesh out development setup
This commit is contained in:
parent
6f34566e1b
commit
e8f357a125
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"deno.enable": true,
|
||||
"deno.unstable": true,
|
||||
"deno.lint": false
|
||||
}
|
|
@ -8,7 +8,7 @@ const APS_GITHUB_URL = `https://github.com/${APS_SLUG}/${APS_SLUG}`;
|
|||
|
||||
export default async (request: Request, context: Context) => {
|
||||
const url = new URL(request.url);
|
||||
const urlParts = url.pathname.split("/").filter(entry => entry != "");
|
||||
const urlParts = url.pathname.split("/").filter((entry) => entry != "");
|
||||
switch (urlParts[0]) {
|
||||
case "g":
|
||||
switch (urlParts.length) {
|
||||
|
|
|
@ -6,9 +6,14 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "hugo",
|
||||
"dev": "hugo serve"
|
||||
"dev": "hugo serve",
|
||||
"format": "prettier --write '**/*.{ts,js,css,json,md}' --ignore-path .gitignore"
|
||||
},
|
||||
"author": "Harsh Shandilya <me@msfjarvis.dev>",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"dependencies": {}
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"netlify-cli": "^12.2.0",
|
||||
"prettier": "^2.7.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue