feat: add hugo extended as a dependency

This commit is contained in:
Henk Verlinde 2021-01-12 11:31:13 +01:00
parent b20209bf0c
commit 258224c788
6 changed files with 3131 additions and 359 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
hugo_bin_build_tags = "extended"

View File

@ -11,6 +11,14 @@
{"type": "test", "hidden": true}
],
"bumpFiles": [
{
"filename": "package.json",
"type": "json"
},
{
"filename": "package-lock.json",
"type": "json"
},
{
"filename": "data/doks.json",
"type": "json"

View File

@ -1,4 +1,4 @@
{
"name": "hyas",
"version": "1.2.8"
"version": "1.3.5"
}

View File

@ -3,9 +3,9 @@
functions = "functions"
[build.environment]
HUGO_VERSION = "0.78.0"
NODE_VERSION = "15.0.1"
NPM_VERSION = "7.0.5"
HUGO_VERSION = "0.80.0"
NODE_VERSION = "15.5.1"
NPM_VERSION = "7.3.0"
[context.production]
command = "hugo -b $URL --gc --minify && npm run build:functions"

3454
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,19 @@
{
"name": "doks",
"version": "0.1.2",
"version": "0.1.4",
"private": true,
"hugo-bin": {
"buildTags": "extended"
},
"browserslist": [
"defaults"
],
"scripts": {
"init": "rimraf .git && git init -b main",
"start": "hugo server",
"create": "hugo new",
"prestart": "npm run clean",
"start": "hugo server --disableFastRender",
"prebuild": "npm run clean",
"build": "hugo --gc --minify && npm run build:functions",
"build:functions": "netlify-lambda build assets/lambda",
"build:preview": "npm run build -D -F",
@ -17,7 +23,9 @@
"lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"",
"lint:markdown": "markdownlint *.md content/**/*.md",
"release": "standard-version",
"test": "npm run -s lint"
"server": "hugo server",
"test": "npm run -s lint",
"env": "env"
},
"devDependencies": {
"@babel/cli": "^7.12",
@ -26,9 +34,10 @@
"@fullhuman/postcss-purgecss": "^3.1",
"autoprefixer": "^10.2",
"bootstrap": "^4.5",
"clipboard": "^2.0.6",
"clipboard": "^2.0",
"eslint": "^7.17",
"flexsearch": "^0.6.32",
"flexsearch": "^0.6",
"hugo-bin": "^0.68.0",
"instant.page": "^5.1",
"lazysizes": "^5.3",
"markdownlint-cli": "^0.26",