mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 07:18:57 +00:00
d8624386c7
* chore: use monorepo to manage demo, test and other applications and internal packages * style: add eslint support and lint code * chore: refactor project structure and add versioning package replace of fixit-releaser * chore(deps-dev): replace husky with simple-git-hooks * Potential fix for code scanning alert no. 13: Shell command built from environment values * chore(deps-dev): update the final fixit-releaser version * docs: update contributing guidelines for new structure and commands --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"name": "@hugo-fixit/core",
|
|
"type": "module",
|
|
"version": "0.4.0-alpha",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.5.2",
|
|
"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": ">=20"
|
|
},
|
|
"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": "pnpm build:demo && pnpm build:test && pnpm -F integration start",
|
|
"preview": "serve public",
|
|
"lint": "eslint --cache .",
|
|
"version": "pnpm -F versioning start prod && pnpm changelog -p",
|
|
"postversion": "git push && git push --tags",
|
|
"changelog": "fixit-releaser changelog",
|
|
"prepare": "simple-git-hooks"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^5.2.1",
|
|
"@hugo-fixit/fixit-releaser": "^1.6.0",
|
|
"@types/node": "^24.3.0",
|
|
"eslint": "^9.34.0",
|
|
"lint-staged": "^16.1.5",
|
|
"serve": "^14.2.4",
|
|
"simple-git-hooks": "^2.13.1",
|
|
"tsx": "^4.20.5",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"on-headers": ">=1.1.0"
|
|
}
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm -F versioning start dev && pnpm lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
}
|
|
}
|