blog/package.json
radishzzz 804cf72052 chore: update dependencies, enhance theme configuration, and improve layout structure
- Bump versions of several dependencies including @astrojs/mdx, astro, and vite.
- Refactor theme configuration to include code themes for light and dark modes.
- Update layout structure for better responsiveness and clarity.
- Enable JavaScript in TypeScript configuration for broader compatibility.
- Add new font styles and improve font-face definitions.
- Clean up unused imports and commented-out code in index.astro.
- Introduce global type definitions for Attributify attributes in JSX.
2025-01-21 21:21:24 +00:00

67 lines
1.9 KiB
JSON

{
"name": "astro-theme-retypeset",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "eslint . --fix",
"typecheck": "astro check && tsc --noEmit",
"prepare": "git init && npx husky install"
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^4.0.7",
"@astrojs/partytown": "^2.1.3",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
"@rehype-pretty/transformers": "^0.13.2",
"@unocss/reset": "^65.4.2",
"astro": "^5.1.8",
"astro-compress": "^2.3.6",
"astro-robots-txt": "^1.0.0",
"hastscript": "^9.0.0",
"markdown-it": "^14.1.0",
"overlayscrollbars": "^2.10.1",
"photoswipe": "^5.4.4",
"rehype-autolink-headings": "^7.1.0",
"rehype-components": "^0.3.0",
"rehype-external-links": "^3.0.0",
"rehype-katex": "^7.0.1",
"rehype-pretty-code": "^0.14.0",
"rehype-slug": "^6.0.0",
"remark-directive": "^3.0.0",
"remark-github-admonitions-to-directives": "^2.1.0",
"remark-math": "^6.0.0",
"remark-sectionize": "^2.1.0",
"sanitize-html": "^2.14.0",
"sharp": "^0.33.5",
"typescript": "~5.7.3",
"unist-util-visit": "^5.0.0",
"vite": "^6.0.11"
},
"devDependencies": {
"@antfu/eslint-config": "^3.15.0",
"@types/markdown-it": "^14.1.2",
"@types/mdast": "^4.0.4",
"@types/node": "^22.10.7",
"@types/sanitize-html": "^2.13.0",
"@unocss/eslint-plugin": "^65.4.2",
"@unocss/preset-attributify": "^65.4.2",
"astro-eslint-parser": "^1.1.0",
"eslint": "^9.18.0",
"eslint-plugin-astro": "^1.3.1",
"lint-staged": "^15.4.1",
"mdast-util-to-string": "^4.0.0",
"reading-time": "^1.5.0",
"unocss": "^65.4.2",
"unocss-preset-theme": "^0.14.1"
},
"lint-staged": {
"*.{js,ts,jsx,tsx,astro}": "eslint --fix"
}
}