From 8a8db67e82346ebf92dd6615b11c3faee5a58d3e Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Fri, 7 Oct 2022 13:32:42 +0200 Subject: [PATCH] #427 - Add hexo as SSG option --- src/constants/FrameworkDetectors.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/constants/FrameworkDetectors.ts b/src/constants/FrameworkDetectors.ts index 76e9f488..7f11381d 100644 --- a/src/constants/FrameworkDetectors.ts +++ b/src/constants/FrameworkDetectors.ts @@ -85,5 +85,17 @@ export const FrameworkDetectors = [{ commands: { start: "npx @11ty/eleventy --serve" } + }, + { + framework: { + name: "hexo", + dist: "public", + build: "npx hexo-cli generate" + }, + requiredFiles: ["_config.js"], + requiredDependencies: ["hexo"], + commands: { + start: "npx hexo-cli server" + } } ]; \ No newline at end of file