mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
- 更新Cookie Consent脚本以动态适应暗色/亮色主题 - 添加CSS类切换功能,当文档主题变化时自动更新Cookie Consent界面 - 标记Cookie Consent相关资源为持久化,防止页面切换时被清理 - 优化Google Adsense脚本的格式和属性 - 添加@types/hast类型依赖以支持相关功能
87 lines
2.5 KiB
JSON
87 lines
2.5 KiB
JSON
{
|
|
"name": "fuwari",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"type-check": "tsc --noEmit --isolatedDeclarations",
|
|
"new-post": "node scripts/new-post.js",
|
|
"clean": "node scripts/clean-unused-images.js",
|
|
"del-space": "node scripts/del-space.js",
|
|
"format": "biome format --write ./src",
|
|
"lint": "biome check --write ./src"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/check": "^0.9.4",
|
|
"@astrojs/rss": "^4.0.11",
|
|
"@astrojs/sitemap": "^3.3.1",
|
|
"@astrojs/svelte": "7.0.12",
|
|
"@astrojs/tailwind": "^6.0.2",
|
|
"@expressive-code/core": "^0.41.3",
|
|
"@expressive-code/plugin-collapsible-sections": "^0.41.3",
|
|
"@expressive-code/plugin-line-numbers": "^0.41.3",
|
|
"@fancyapps/ui": "^6.0.5",
|
|
"@fontsource-variable/jetbrains-mono": "^5.2.5",
|
|
"@fontsource/roboto": "^5.2.5",
|
|
"@iconify-json/fa6-brands": "^1.2.5",
|
|
"@iconify-json/fa6-regular": "^1.2.3",
|
|
"@iconify-json/fa6-solid": "^1.2.3",
|
|
"@iconify-json/material-symbols": "^1.2.20",
|
|
"@iconify/svelte": "^4.2.0",
|
|
"@swup/astro": "^1.6.0",
|
|
"@tailwindcss/typography": "^0.5.16",
|
|
"astro": "5.7.9",
|
|
"astro-expressive-code": "^0.41.3",
|
|
"astro-icon": "^1.1.5",
|
|
"diff": "^8.0.3",
|
|
"katex": "^0.16.22",
|
|
"overlayscrollbars": "^2.11.1",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"rehype-components": "^0.3.0",
|
|
"rehype-external-links": "^3.0.0",
|
|
"rehype-katex": "^7.0.1",
|
|
"rehype-slug": "^6.0.0",
|
|
"remark-directive": "^3.0.1",
|
|
"remark-directive-rehype": "^0.4.2",
|
|
"remark-math": "^6.0.0",
|
|
"remark-sectionize": "^2.1.0",
|
|
"svelte": "^5.28.2",
|
|
"tailwindcss": "^3.4.17"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/ts-plugin": "^1.10.4",
|
|
"@biomejs/biome": "1.9.4",
|
|
"@iconify-json/material-symbols-light": "^1.2.49",
|
|
"@iconify-json/simple-icons": "^1.2.42",
|
|
"@rollup/plugin-yaml": "^4.1.2",
|
|
"@types/diff": "^8.0.0",
|
|
"@types/hast": "^3.0.4",
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@types/mdast": "^4.0.4",
|
|
"@types/sanitize-html": "^2.15.0",
|
|
"glob": "^11.0.3",
|
|
"hastscript": "^9.0.1",
|
|
"markdown-it": "^14.1.0",
|
|
"mdast-util-to-string": "^4.0.0",
|
|
"node-html-parser": "^7.0.1",
|
|
"postcss-import": "^16.1.0",
|
|
"postcss-nesting": "^13.0.1",
|
|
"reading-time": "^1.5.0",
|
|
"rehype": "^13.0.2",
|
|
"sanitize-html": "^2.16.0",
|
|
"stylus": "^0.64.0",
|
|
"typescript": "^5.8.3",
|
|
"unist-util-visit": "^5.0.0"
|
|
},
|
|
"packageManager": "pnpm@9.14.4",
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"astro": "patches/astro.patch"
|
|
}
|
|
}
|
|
}
|