deps: bump versions to latest
This commit is contained in:
parent
2e8489fa49
commit
8a9871654e
|
@ -1,4 +1,3 @@
|
|||
bin
|
||||
node_modules
|
||||
public
|
||||
resources
|
||||
|
|
11
netlify.toml
11
netlify.toml
|
@ -5,26 +5,25 @@
|
|||
[build.environment]
|
||||
NODE_VERSION = "16.3.0"
|
||||
NPM_VERSION = "7.16.0"
|
||||
HUGO_VERSION = "0.87.0"
|
||||
|
||||
[context.production]
|
||||
command = "hugo --gc --minify"
|
||||
command = "npm run build"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
command = "npm run build -- -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
command = "npm run build -- -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.next]
|
||||
command = "hugo --gc --minify"
|
||||
command = "npm run build"
|
||||
|
||||
[context.next.environment]
|
||||
HUGO_ENV = "next"
|
||||
|
||||
[dev]
|
||||
framework = "#custom"
|
||||
command = "shx rm -rf public resources && hugo server --bind=0.0.0.0 --disableFastRender"
|
||||
command = "npm run start"
|
||||
targetPort = 1313
|
||||
port = 8888
|
||||
publish = "public"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
|
@ -12,29 +12,29 @@
|
|||
},
|
||||
"scripts": {
|
||||
"init": "shx rm -rf .git && git init -b main",
|
||||
"create": "exec-bin bin/hugo/hugo new",
|
||||
"create": "exec-bin node_modules/.bin/hugo/hugo new",
|
||||
"prestart": "npm run clean",
|
||||
"start": "exec-bin bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender",
|
||||
"start": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender",
|
||||
"prebuild": "npm run clean",
|
||||
"build": "exec-bin bin/hugo/hugo --gc --minify",
|
||||
"build": "exec-bin node_modules/.bin/hugo/hugo --gc --minify",
|
||||
"build:preview": "npm run build -D -F",
|
||||
"clean": "shx rm -rf public resources",
|
||||
"clean:install": "shx rm -rf package-lock.json bin node_modules ",
|
||||
"clean:install": "shx rm -rf package-lock.json node_modules ",
|
||||
"lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown",
|
||||
"lint:scripts": "eslint assets/js config functions",
|
||||
"lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"",
|
||||
"lint:markdown": "markdownlint \"*.md\" \"content/**/*.md\"",
|
||||
"server": "exec-bin bin/hugo/hugo server",
|
||||
"server": "exec-bin node_modules/.bin/hugo/hugo server",
|
||||
"test": "npm run -s lint",
|
||||
"env": "env",
|
||||
"precheck": "npm version",
|
||||
"check": "exec-bin bin/hugo/hugo version",
|
||||
"check": "exec-bin node_modules/.bin/hugo/hugo version",
|
||||
"copy:katex-fonts": "shx cp ./node_modules/katex/dist/fonts/* ./static/fonts/",
|
||||
"postinstall": "hugo-installer --version otherDependencies.hugo --extended",
|
||||
"postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo",
|
||||
"version": "auto-changelog -p && git add CHANGELOG.md"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.14",
|
||||
"@babel/cli": "^7.15",
|
||||
"@babel/core": "^7.15",
|
||||
"@babel/preset-env": "^7.15",
|
||||
"@fullhuman/postcss-purgecss": "^4.0",
|
||||
|
@ -51,7 +51,7 @@
|
|||
"katex": "^0.13",
|
||||
"lazysizes": "^5.3",
|
||||
"markdownlint-cli": "^0.28",
|
||||
"mermaid": "^8.11",
|
||||
"mermaid": "^8.12",
|
||||
"postcss": "^8.3",
|
||||
"postcss-cli": "^8.3",
|
||||
"purgecss-whitelister": "^2.4",
|
||||
|
@ -60,6 +60,6 @@
|
|||
"stylelint-config-standard": "^22.0"
|
||||
},
|
||||
"otherDependencies": {
|
||||
"hugo": "0.87.0"
|
||||
"hugo": "0.88.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue