mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
chore: flesh out development setup
This commit is contained in:
parent
6f34566e1b
commit
e8f357a125
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
@ -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) => {
|
export default async (request: Request, context: Context) => {
|
||||||
const url = new URL(request.url);
|
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]) {
|
switch (urlParts[0]) {
|
||||||
case "g":
|
case "g":
|
||||||
switch (urlParts.length) {
|
switch (urlParts.length) {
|
||||||
|
|
|
@ -6,9 +6,14 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "hugo",
|
"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>",
|
"author": "Harsh Shandilya <me@msfjarvis.dev>",
|
||||||
"license": "MIT OR Apache-2.0",
|
"license": "MIT OR Apache-2.0",
|
||||||
"dependencies": {}
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"netlify-cli": "^12.2.0",
|
||||||
|
"prettier": "^2.7.1"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user