mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-11-18 22:59:17 +00:00
55 lines
2.3 KiB
JSON
55 lines
2.3 KiB
JSON
{
|
|
"name": "docsy",
|
|
"version": "0.9.1",
|
|
"version.next": "0.9.2-dev.0-unreleased",
|
|
"repository": "github:google/docsy",
|
|
"homepage": "https://www.docsy.dev",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"_cd:docs": "cd userguide &&",
|
|
"_check:format": "npx prettier --check .??* *.md",
|
|
"_cp:bs-rfs": "npx cpy 'node_modules/bootstrap/scss/vendor/*' assets/_vendor/bootstrap/scss/",
|
|
"_diff:check": "git diff --name-only --exit-code",
|
|
"_mkdir:hugo-mod": "npx mkdirp ../github.com/FortAwesome/Font-Awesome ../github.com/twbs/bootstrap",
|
|
"_prebuild": "npm run _cp:bs-rfs",
|
|
"_test:docs": "npm run cd:docs test",
|
|
"build:preview": "npm run cd:docs build:preview",
|
|
"build:production": "npm run cd:docs build:production",
|
|
"build": "npm run cd:docs build",
|
|
"cd:docs": "npm run _cd:docs -- npm run",
|
|
"check": "npm run check:format && npm run check:links--md",
|
|
"check:format": "npm run _check:format || (echo '[help] Run: npm run fix:format'; exit 1)",
|
|
"check:links--md": "ls *.md | xargs npx markdown-link-check --config .markdown-link-check.json",
|
|
"check:links:all": "npm run cd:docs check:links:all",
|
|
"check:links": "npm run cd:docs check:links",
|
|
"docs-install": "npm run _cd:docs -- npm install",
|
|
"fix:format": "npm run _check:format -- --write",
|
|
"get:hugo-modules": "node tools/getHugoModules/index.mjs",
|
|
"postinstall": "npm run _mkdir:hugo-mod",
|
|
"prebuild:preview": "npm run _prebuild",
|
|
"prebuild:production": "npm run _prebuild",
|
|
"preserve": "npm run _prebuild",
|
|
"pretest": "npm run _prebuild",
|
|
"serve": "npm run cd:docs serve",
|
|
"test:all": "npm run _test:docs && npm run check && npm run fix:format && npm run _diff:check",
|
|
"test": "npm run _test:docs",
|
|
"update:pkg:dep": "npm install --save-exact @fortawesome/fontawesome-free@latest bootstrap@latest",
|
|
"update:pkg:hugo": "npm install --save-exact -D hugo-extended@latest"
|
|
},
|
|
"spelling": "cSpell:ignore docsy hugo fortawesome fontawesome userguide ",
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-free": "6.5.1",
|
|
"bootstrap": "5.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"cpy-cli": "^5.0.0",
|
|
"hugo-extended": "0.122.0",
|
|
"markdown-link-check": "^3.11.2",
|
|
"mkdirp": "^3.0.1",
|
|
"prettier": "^3.2.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|