mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
2c0b48370b
* feat(gen-docs): add documentation generation package with SassDoc and TypeDoc support Add new `@hugo-fixit/gen-docs` package that parses Hugo config (hugo.toml) and generates documentation. Includes SassDoc annotations for SCSS variables and mixins, TypeDoc config for TypeScript source docs, and a `.sassdocrc` configuration file. * docs(readme): add browsers support section * feat(gen-docs): add Hugo partials docs generation and fix config empty sections - Add partial-parser.ts: parses Hugo partial comment blocks (@param/@return/@example) - Add partials.ts renderer: generates grouped Markdown with param tables - Add `partials` subcommand with -t/-o options for template injection - Fix config-parser: empty TOML sections (library.js/library.css) now retain descriptions - Fix config-parser: correctly distinguish section-level vs key-level comments - Update README with partials subcommand documentation
78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"name": "@hugo-fixit/core",
|
|
"type": "module",
|
|
"version": "0.4.5",
|
|
"nextVersion": "1.0.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@11.4.0",
|
|
"description": "Hugo FixIt core theme component source files",
|
|
"author": {
|
|
"name": "Lruihao",
|
|
"email": "1024@lruihao.cn",
|
|
"url": "https://lruihao.cn"
|
|
},
|
|
"license": "MIT",
|
|
"homepage": "https://fixit.lruihao.cn",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hugo-fixit/FixIt.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/hugo-fixit/FixIt/issues"
|
|
},
|
|
"keywords": [
|
|
"hugo",
|
|
"theme",
|
|
"fixit"
|
|
],
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"dev:demo": "pnpm -F demo dev",
|
|
"dev:test": "pnpm -F test dev",
|
|
"dev:docs": "hugo server --source=../fixit-docs -D --disableFastRender --navigateToChanged --ignoreCache -O",
|
|
"build:demo": "pnpm -F demo build",
|
|
"build:test": "pnpm -F test build",
|
|
"build": "concurrently 'pnpm build:demo' 'pnpm build:test' && pnpm -F integration start && pnpm encrypt && pnpm encrypt --verify",
|
|
"encrypt": "pnpm -F encrypt start",
|
|
"clean": "rm -rf public resources/_gen apps/*/public apps/*/resources/_gen",
|
|
"preview": "serve public",
|
|
"lint": "eslint --cache .",
|
|
"typecheck": "tsc --noEmit -p assets/tsconfig.json",
|
|
"version": "pnpm -F versioning start prod",
|
|
"changelog": "auto-changelog-plus --starting-date 2021-12-18",
|
|
"gen:lexers": "pnpm -F chroma-lexers start",
|
|
"gen:docs": "pnpm -F gen-docs start",
|
|
"gen:typedoc": "typedoc",
|
|
"gen:sassdoc": "npx sassdoc@2.7.2 assets/scss/ --dest ../fixit-docs/static/references/scss --config .sassdocrc",
|
|
"unocss": "unocss",
|
|
"unocss:watch": "unocss --watch",
|
|
"prepare": "simple-git-hooks"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^9.1.0",
|
|
"@iconify/json": "^2.2.493",
|
|
"@iconify/utils": "^3.1.3",
|
|
"@types/node": "^25.9.4",
|
|
"@unocss/cli": "^66.7.4",
|
|
"auto-changelog-plus": "^1.3.0",
|
|
"concurrently": "^10.0.3",
|
|
"eslint": "^10.6.0",
|
|
"jiti": "^2.7.0",
|
|
"lint-staged": "^17.0.8",
|
|
"serve": "^14.2.6",
|
|
"simple-git-hooks": "^2.13.1",
|
|
"tsx": "^4.22.4",
|
|
"typedoc": "^0.28.20",
|
|
"typescript": "^6.0.3",
|
|
"unocss": "^66.7.4"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm -F versioning start dev && pnpm typecheck && pnpm lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
}
|
|
}
|