Flatten structure, update dependencies

This commit is contained in:
Florine W. Dekker 2021-03-25 21:29:32 +01:00
parent 3118becd91
commit 32f779f098
Signed by untrusted user: FWDekker
GPG Key ID: B1B567AF58D6EE0F
5 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ module.exports = grunt => {
},
copy: {
css: {
files: [{expand: true, cwd: "src/main/", src: "**/*.css", dest: "dist/"}]
files: [{expand: true, cwd: "src/main/css/", src: "**/*.css", dest: "dist/"}]
},
html: {
files: [{expand: true, cwd: "src/main/", src: "**/*.html", dest: "dist/"}]

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "doomsday",
"version": "1.3.9",
"version": "1.3.10",
"description": "Test your mastery of Conway's Doomsday rule.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",
@ -16,18 +16,18 @@
"deploy": "grunt deploy"
},
"dependencies": {
"@fwdekker/template": "^0.0.21"
"@fwdekker/template": "^0.0.22"
},
"devDependencies": {
"grunt": "^1.3.0",
"grunt-cli": "^1.3.2",
"grunt-cli": "^1.4.1",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-focus": "^1.0.0",
"grunt-text-replace": "^0.4.0",
"grunt-webpack": "^4.0.2",
"webpack": "^5.24.2",
"webpack": "^5.28.0",
"webpack-cli": "^4.5.0"
}
}

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic"
crossorigin="anonymous" />
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="main.css?v=%%VERSION_NUMBER%%" />
</head>
<body>
<noscript>

View File

@ -1,4 +1,4 @@
import {$, doAfterLoad, footer, header, nav} from "@fwdekker/template";
import {$, doAfterLoad, footer, header, nav, showPage} from "@fwdekker/template";
/**
@ -367,7 +367,7 @@ doAfterLoad(() => {
vcsURL: "https://git.fwdekker.com/FWDekker/doomsday/",
version: "v%%VERSION_NUMBER%%"
}));
$("main").style.display = null;
showPage();
// Initialize quiz