2024-04-21 23:04:16 +00:00
|
|
|
{
|
|
|
|
"name": "docsy",
|
2024-04-25 22:15:39 +00:00
|
|
|
"version": "0.9.1",
|
|
|
|
"version.next": "0.9.2-dev.0-unreleased",
|
2024-04-21 23:04:16 +00:00
|
|
|
"repository": "github:google/docsy",
|
2024-04-25 22:15:39 +00:00
|
|
|
"homepage": "https://www.docsy.dev",
|
|
|
|
"license": "Apache-2.0",
|
2024-04-21 23:04:16 +00:00
|
|
|
"scripts": {
|
|
|
|
"_cd:docs": "cd userguide &&",
|
2024-04-25 22:15:39 +00:00
|
|
|
"_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",
|
2024-04-21 23:04:16 +00:00
|
|
|
"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",
|
2024-04-25 22:15:39 +00:00
|
|
|
"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",
|
2024-04-21 23:04:16 +00:00
|
|
|
"docs-install": "npm run _cd:docs -- npm install",
|
2024-04-25 22:15:39 +00:00
|
|
|
"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",
|
2024-04-21 23:04:16 +00:00
|
|
|
"serve": "npm run cd:docs serve",
|
2024-04-25 22:15:39 +00:00
|
|
|
"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"
|
2024-04-21 23:04:16 +00:00
|
|
|
},
|
2024-04-25 22:15:39 +00:00
|
|
|
"spelling": "cSpell:ignore docsy hugo fortawesome fontawesome userguide ",
|
2024-04-21 23:04:16 +00:00
|
|
|
"dependencies": {
|
2024-04-25 22:15:39 +00:00
|
|
|
"@fortawesome/fontawesome-free": "6.5.1",
|
|
|
|
"bootstrap": "5.2.3"
|
2024-04-21 23:04:16 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-04-25 22:15:39 +00:00
|
|
|
"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"
|
2024-04-21 23:04:16 +00:00
|
|
|
}
|
|
|
|
}
|