加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
Junya Okabe 提交于 2024-07-25 00:44 . chore: pin hugo-extended
{
"name": "cncf-glossary",
"description": "CNCF Glossary.",
"private": true,
"scripts": {
"__check:links": "make --keep-going check-links",
"_build": "npm run _hugo -- -e dev -DEF --baseURL \"${DEPLOY_PRIME_URL:-http://localhost}\"",
"_check:links": "npm run __check:links",
"_check:links:all": "HTMLTEST_ARGS='--log-level 1' npm run __check:links",
"_get:no": "echo SKIPPING get operation",
"_get:submodule": "set -x && git submodule update --init --recursive ${DEPTH:- --depth 1}",
"_hugo": "hugo --cleanDestinationDir",
"_prebuild": "npm run get:submodule",
"_prepare:docsy": "echo 'Placeholder for when docsy is updated and we will do: cd themes/docsy && npm install'",
"build": "npm run _build",
"check:links": "npm run _check:links",
"get:submodule": "npm run _get:${GET:-submodule}",
"postget:submodule": "git submodule",
"prebuild": "npm run _prebuild",
"precheck:links": "npm run build",
"prepare": "npm run seq -- get:submodule _prepare:docsy",
"seq": "bash -c 'for cmd in \"$@\"; do npm run $cmd || exit 1; done' - ",
"serve": "netlify dev -c \"hugo serve --minify -DFE -w\"",
"serve:with-pagefind": "hugo --baseURL=/ --theme=docsy && npm_config_yes=true npx pagefind --site 'public' --output-subdir '../static/pagefind' && npm run serve",
"test": "npm run check:links",
"update:pkgs": "npx npm-check-updates -u"
},
"devDependencies": {
"autoprefixer": "^10.4.19",
"hugo-extended": "^0.122.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0"
},
"optionalDependencies": {
"netlify-cli": "^17.30.0",
"npm-check-updates": "^16.14.20"
},
"enginesComment": "Ensure that engines.node value stays consistent with the project's .nvmrc",
"engines": {
"node": "20.x"
},
"gitHubActionCacheKey": "2024-06-08 - change this key to force cache refresh",
"spelling": "cSpell:ignore cncf docsy HTMLTEST hugo loglevel pagefind netlify nowrap pkgs prebuild precheck preinstall postbuild postget subdir -"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化