Update dependencies, use local fonts
This commit is contained in:
parent
665e77290e
commit
9ee7a975c8
Binary file not shown.
14
package.json
14
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "dice",
|
"name": "dice",
|
||||||
"version": "1.0.10",
|
"version": "1.0.11",
|
||||||
"description": "Calculates the probability of rolling a value given a combination of dice.",
|
"description": "Calculates the probability of rolling a value given a combination of dice.",
|
||||||
"author": "Felix W. Dekker",
|
"author": "Felix W. Dekker",
|
||||||
"browser": "dist/bundle.js",
|
"browser": "dist/bundle.js",
|
||||||
|
@ -16,19 +16,19 @@
|
||||||
"deploy": "grunt deploy"
|
"deploy": "grunt deploy"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fwdekker/template": "^0.0.20",
|
"@fwdekker/template": "^0.0.24",
|
||||||
"chart.js": "^2.9.3"
|
"chart.js": "^2.9.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "^1.2.1",
|
"grunt": "^1.3.0",
|
||||||
"grunt-cli": "^1.3.2",
|
"grunt-cli": "^1.4.1",
|
||||||
"grunt-contrib-clean": "^2.0.0",
|
"grunt-contrib-clean": "^2.0.0",
|
||||||
"grunt-contrib-copy": "^1.0.0",
|
"grunt-contrib-copy": "^1.0.0",
|
||||||
"grunt-contrib-watch": "^1.1.0",
|
"grunt-contrib-watch": "^1.1.0",
|
||||||
"grunt-focus": "^1.0.0",
|
"grunt-focus": "^1.0.0",
|
||||||
"grunt-text-replace": "^0.4.0",
|
"grunt-text-replace": "^0.4.0",
|
||||||
"grunt-webpack": "^4.0.2",
|
"grunt-webpack": "^4.0.2",
|
||||||
"webpack": "^4.44.1",
|
"webpack": "^5.28.0",
|
||||||
"webpack-cli": "^3.3.12"
|
"webpack-cli": "^4.5.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,8 +10,7 @@
|
||||||
|
|
||||||
<title>Dice probabilities | FWDekker</title>
|
<title>Dice probabilities | FWDekker</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic"
|
<link rel="stylesheet" href="https://static.fwdekker.com/fonts/roboto.css" crossorigin="anonymous" />
|
||||||
crossorigin="anonymous" />
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
|
@ -73,6 +72,6 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script src="bundle.js"></script>
|
<script src="bundle.js?v=%%VERSION_NUMBER%%"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {$, doAfterLoad, footer, header, nav} from "@fwdekker/template";
|
import {$, doAfterLoad, footer, header, nav, showPage} from "@fwdekker/template";
|
||||||
import Chart from "chart.js"
|
import Chart from "chart.js"
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ doAfterLoad(() => {
|
||||||
vcsURL: "https://git.fwdekker.com/FWDekker/dice/",
|
vcsURL: "https://git.fwdekker.com/FWDekker/dice/",
|
||||||
version: "v%%VERSION_NUMBER%%"
|
version: "v%%VERSION_NUMBER%%"
|
||||||
}));
|
}));
|
||||||
$("main").style.display = null;
|
showPage();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue