新增 MergeTable 组件,支持跨行跨列合并单元格功能,类似 Typst 的 tablex 功能。组件提供多种样式配置选项,包括斑马纹、悬停效果和紧凑模式等。 同时更新 package.json 添加测试相关依赖,并清理 mdx-components.ts 中未使用的组件导入。
36 lines
849 B
JSON
36 lines
849 B
JSON
{
|
|
"name": "novablog",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/mdx": "^4.3.13",
|
|
"@astrojs/react": "^4.4.2",
|
|
"@astrojs/tailwind": "^5.1.5",
|
|
"@astrojs/vue": "^5.1.4",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"astro": "^5.17.1",
|
|
"katex": "^0.16.33",
|
|
"marked": "^17.0.3",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"rehype-katex": "^7.0.1",
|
|
"remark-math": "^6.0.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"vue": "^3.5.29"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"jsdom": "^28.1.0",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|