mirror of
https://github.com/Sea-Haven-Industries/seahaven-site.git
synced 2026-10-05 11:41:57 +00:00
gray-matter 4.x still binds safeLoad/safeDump at require time, which js-yaml 5 removed. Wrap v5 with those aliases so Eleventy can boot, and leave Eleventy itself on js-yaml 4.
21 lines
505 B
JSON
21 lines
505 B
JSON
{
|
|
"name": "seahaven-site",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Sea Haven Industries marketing site — static HTML built with Eleventy, served from S3 + CloudFront.",
|
|
"scripts": {
|
|
"build": "eleventy",
|
|
"serve": "eleventy --serve",
|
|
"clean": "rm -rf _site"
|
|
},
|
|
"license": "UNLICENSED",
|
|
"dependencies": {
|
|
"@11ty/eleventy": "3.1.6",
|
|
"js-yaml": "file:compat/js-yaml-safe-api"
|
|
},
|
|
"overrides": {
|
|
"gray-matter": {
|
|
"js-yaml": "$js-yaml"
|
|
}
|
|
}
|
|
}
|