⬆️ bump dependencies

This commit is contained in:
platane
2021-10-04 09:41:55 +02:00
parent 6823a283fd
commit aa6a4782ee
9 changed files with 1113 additions and 1966 deletions

View File

@@ -9,9 +9,8 @@ import { getGithubUserContribution } from "@snk/github-user-contribution";
const demos: string[] = require("./demo.json");
const webpackDevServerConfiguration: WebpackDevServerConfiguration = {
open: true,
openPage: demos[1] + ".html",
after: (app) => {
open: { target: demos[1] + ".html" },
onAfterSetupMiddleware: ({ app }) => {
app.get("/api/github-user-contribution/:userName", async (req, res) => {
const userName: string = req.params.userName;
res.send(await getGithubUserContribution(userName));