26 lines
1.4 KiB
JSON
26 lines
1.4 KiB
JSON
{
|
|
"name": "professors-hugo",
|
|
"version": "1.2.1",
|
|
"license": "UNLICENSED",
|
|
"author": "gethugothemes",
|
|
"scripts": {
|
|
"dev": "hugo server",
|
|
"build": "hugo --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic",
|
|
"preview": "hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify",
|
|
"dev:example": "cd exampleSite; hugo server --themesDir ../..",
|
|
"build:example": "cd exampleSite; hugo --themesDir ../.. --gc --minify --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --forceSyncStatic",
|
|
"preview:example": "cd exampleSite; hugo server --themesDir ../.. --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --buildDrafts --buildExpired --buildFuture --watch --forceSyncStatic -e production --minify",
|
|
"update-modules": "node ./scripts/clearModules.js && hugo mod clean --all && hugo mod get -u ./... && hugo mod tidy",
|
|
"project-setup": "node ./scripts/projectSetup.js",
|
|
"theme-setup": "node ./scripts/themeSetup.js",
|
|
"format": "prettier -w ."
|
|
},
|
|
"devDependencies": {
|
|
"@fullhuman/postcss-purgecss": "^6.0.0",
|
|
"postcss": "^8.4.19",
|
|
"postcss-cli": "^11.0.0",
|
|
"prettier": "^3.3.3",
|
|
"prettier-plugin-go-template": "0.0.15"
|
|
}
|
|
}
|