1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 04:55:30 -04:00

upgrade Hugo to v0.60.1 (new markdown parser)

This commit is contained in:
2019-12-01 21:21:11 -05:00
parent 67d212d4d1
commit e8bf1881c8
21 changed files with 184 additions and 113 deletions

View File

@@ -13,8 +13,8 @@
"build": "yarn clean && yarn hugo:build && yarn optimize",
"build:preview": "yarn clean && yarn hugo:build-dev",
"hugo:build": "hugo --gc --cleanDestinationDir --verbose",
"hugo:build-dev": "HUGO_ENV=development hugo -e development -b $DEPLOY_PRIME_URL --gc --cleanDestinationDir --buildDrafts --buildFuture --verbose",
"hugo:serve": "hugo server --buildDrafts --buildFuture --port 1313 --bind=0.0.0.0 --verbose",
"hugo:build-dev": "cross-env HUGO_ENV=development hugo -e development -b $DEPLOY_PRIME_URL --gc --cleanDestinationDir --buildDrafts --buildFuture --verbose",
"hugo:serve": "hugo server --buildDrafts --buildFuture --port 1313 --bind 0.0.0.0 --verbose",
"docker:serve": "docker build -t jarv.is:develop -f Dockerfile . && docker run -v $(pwd):/src -p 1313:1313 jarv.is:develop",
"netlify:serve": "netlify dev --command 'yarn hugo:serve'",
"optimize": "yarn optimize:html && yarn optimize:css && yarn optimize:img",
@@ -30,6 +30,7 @@
"dependencies": {},
"devDependencies": {
"clean-css-cli": "~4.3.0",
"cross-env": "^6.0.3",
"html-minifier": "~4.0.0",
"imagemin-cli": "^5.0.0",
"imagemin-gifsicle": "^6.0.1",