mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 22:14:13 +00:00
Example for a YAML config:
```
cms:
branch: main
local_backend: true
publish_mode:
```
Close #2124
16 lines
522 B
JSON
16 lines
522 B
JSON
{
|
|
"name": "wowchemy-test",
|
|
"version": "0.0.1",
|
|
"description": "Wowchemy Test Build",
|
|
"main": "",
|
|
"repository": "https://github.com/wowchemy/wowchemy-hugo-modules",
|
|
"author": "George Cushen",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"view": "hugo server --port 8080 --bind 0.0.0.0",
|
|
"build": "hugo --minify --cleanDestinationDir --gc --templateMetrics --templateMetricsHints",
|
|
"cms": "(trap 'kill 0' SIGINT; npx netlify-cms-proxy-server & hugo server --port 8080 --bind 0.0.0.0)"
|
|
}
|
|
}
|