mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00

- Added a new PhotoSwipe component for image lightbox functionality in the layout. - Enhanced scrollbar component with an auto-hide delay feature. - Updated global styles to improve scrollbar appearance and added styles for PhotoSwipe. - Included new Head layout component for better SEO and meta tag management. - Added images to existing posts for improved visual content. This commit improves user experience with enhanced image viewing and layout consistency.
66 lines
1.9 KiB
JSON
66 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.3",
|
|
"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.1",
|
|
"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.16.0",
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@types/node": "^22.10.9",
|
|
"@types/sanitize-html": "^2.13.0",
|
|
"@unocss/eslint-plugin": "^65.4.3",
|
|
"@unocss/preset-attributify": "^65.4.3",
|
|
"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.3",
|
|
"unocss-preset-theme": "^0.14.1"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,jsx,tsx,astro}": "eslint --fix"
|
|
}
|
|
}
|