WIP: Adopt the new parcel beta release

This commit is contained in:
Tristan Daniël Maat 2021-04-06 22:19:16 +01:00
parent f81de40676
commit aefd2135f5
Signed by: tlater
GPG key ID: 49670FD774E43268
5 changed files with 5714 additions and 3928 deletions

View file

@ -1,26 +0,0 @@
module.exports = {
plugins: {
"posthtml-favicons": {
outDir: "./dist/browser/",
configuration: {
appName: "tlater.net",
appShortName: "tlater.net",
appDescription: "tlater's home page",
developerName: "Tristan Daniël Maat",
developerURL: "https://tlater.net",
dir: "auto",
lang: "en-US",
background: "#0f0f0f",
theme_color: "#991dce",
appleStatusBarStyle: "black-translucent",
display: "browser",
orientation: "any",
start_url: "https://tlater.net",
version: "1.0",
icons: {
favicons: true,
},
},
},
},
};

26
.posthtmlrc.json Normal file
View file

@ -0,0 +1,26 @@
{
"plugins": {
"posthtml-favicons": {
"outDir": "./dist/browser/",
"configuration": {
"appName": "tlater.net",
"appShortName": "tlater.net",
"appDescription": "tlater's home page",
"developerName": "Tristan Daniël Maat",
"developerURL": "https://tlater.net",
"dir": "auto",
"lang": "en-US",
"background": "#0f0f0f",
"theme_color": "#991dce",
"appleStatusBarStyle": "black-translucent",
"display": "browser",
"orientation": "any",
"start_url": "https://tlater.net",
"version": "1.0",
"icons": {
"favicons": true,
},
},
},
},
};

9564
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,27 +6,33 @@
"license": "MIT",
"private": true,
"dependencies": {
"@babel/preset-env": "^7.10.4",
"@fortawesome/fontawesome-free": "^5.13.1",
"@types/jquery": "^3.5.0",
"@types/react": "^16.9.41",
"@types/react-redux": "^7.1.9",
"bootstrap": "^4.5.0",
"classnames": "^2.2.6",
"immutability-helper": "^3.1.1",
"jquery": "^3.5.1",
"jstransformer-markdown-it": "^2.1.0",
"parcel": "^2.0.0-nightly.328",
"popper.js": "^1.16.1",
"posthtml-favicons": "^1.3.0",
"pug": "^2.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"redux-act": "^1.8.0",
"three": "^0.127.0"
},
"devDependencies": {
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.13.0",
"@parcel/transformer-pug": "2.0.0-beta.2",
"@parcel/transformer-sass": "2.0.0-beta.2",
"@types/jquery": "^3.5.0",
"@types/react": "^16.9.41",
"@types/react-dom": "^17.0.3",
"@types/react-redux": "^7.1.9",
"jstransformer-markdown-it": "^2.1.0",
"parcel": "2.0.0-beta.2",
"posthtml-favicons": "^1.3.0",
"pug": "^3.0.2",
"sass": "^1.26.10",
"three": "^0.101.1",
"typescript-language-server": "^0.4.0"
},
"scripts": {

View file

@ -5,7 +5,7 @@ html.no-js(lang="en")
meta(name="description", content="tlater.net web server")
meta(name="author", content="Tristan Daniël Maat")
meta(name="viewport", content="width=device-width, initial-scale=1")
link(rel="icon", href="src/icon.svg", type="image/x-icon")
link(rel="icon", href="./icon.svg", type="image/x-icon")
link(rel="stylesheet", href="~/src/lib/scss/main.scss")
block stylesheets
title="tlater.net"