From 529fcd8a62937ec80d8a5b926ecff1e4ab2677ea Mon Sep 17 00:00:00 2001 From: Xin Date: Mon, 23 Oct 2023 19:44:18 +0100 Subject: [PATCH] chore: add metric command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index edcb0ac..f813d59 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "dev:theme": "hugo server --logLevel=debug --config=hugo.yaml,../dev.toml --environment=theme --source=exampleSite --themesDir=../.. --disableFastRender -D --port 1313", "dev": "hugo server --source=exampleSite --themesDir=../.. --disableFastRender -D --port 1313", "build:css": "npx postcss --config postcss.config.js --env production assets/css/styles.css -o assets/css/compiled/main.css", - "build": "hugo --gc --minify --themesDir=../.. --source=exampleSite" + "build": "hugo --gc --minify --themesDir=../.. --source=exampleSite", + "metrics": "hugo --themesDir=../.. --source=exampleSite --templateMetrics --templateMetricsHints" }, "devDependencies": { "@tailwindcss/nesting": "^0.0.0-insiders.565cd3e",