📚 论文级功能实现: - ✅ KaTeX数学公式渲染系统 (内联$...1411...1411) - ✅ 高级代码高亮 (行号、标题、语法着色) - ✅ PWA渐进式Web应用支持 - ✅ 多语言代码支持 (20+编程语言) - ✅ 代码行标注系统 (错误/成功/警告/高亮) 🧮 数学公式系统: - LaTeX语法完整支持 - 数学宏定义 (\RR, \NN, \ZZ, \QQ, \CC等) - 复杂公式渲染 (矩阵、积分、求和、分数) - 响应式数学表达式 - 黑暗模式数学公式适配 💻 高级代码展示: - 代码块标题显示 - 行号自动生成 - 语法高亮增强 - 多行高亮标注 - 错误/成功/警告行标记 - 20+编程语言支持 🔧 企业级插件: - @docusaurus/plugin-pwa (离线支持) - rehype-katex (数学公式) - remark-math (数学语法) - remark-gfm (GitHub风格Markdown) - prism-react-renderer (代码高亮) 📊 算法示例升级: - Transformer深度学习模型 - 多头注意力机制实现 - 完整的神经网络架构 - 专业文档注释 - 类型提示和错误处理 🎨 视觉优化: - 数学公式背景框 - 代码行高亮动画 - 专业配色方案 - 渐变边框效果 - 响应式设计适配 📱 PWA功能: - 离线访问支持 - 应用图标配置 - 清单文件完整 - 主题色统一 - 安装提示优化 🚀 性能优化: - 图片质量提升至85% - 代码分割优化 - 字体预加载 - CSS变量系统 - GPU加速渲染 ✨ 用户体验: - 论文级排版标准 - 学术引用格式 - 专业视觉层次 - 无障碍访问支持 - 多设备完美适配
91 lines
2.4 KiB
JSON
91 lines
2.4 KiB
JSON
{
|
|
"name": "safe-array-concat",
|
|
"version": "1.1.3",
|
|
"description": "`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable",
|
|
"main": "index.js",
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
"version": "auto-changelog && git add CHANGELOG.md",
|
|
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
|
|
"prelint": "evalmd README.md",
|
|
"lint": "eslint --ext=js,mjs .",
|
|
"postlint": "tsc && attw -P",
|
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
"prepublishOnly": "safe-publish-latest",
|
|
"pretest": "npm run lint",
|
|
"tests-only": "nyc tape test",
|
|
"test": "npm run tests-only",
|
|
"posttest": "npx npm@'>= 10.2' audit --production"
|
|
},
|
|
"keywords": [
|
|
"safe",
|
|
"Array",
|
|
"concat",
|
|
"push",
|
|
"isConcatSpreadable"
|
|
],
|
|
"author": "Jordan Harband <[email protected]>",
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/ljharb"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ljharb/safe-array-concat.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ljharb/safe-array-concat/issues"
|
|
},
|
|
"homepage": "https://github.com/ljharb/safe-array-concat#readme",
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
"@ljharb/eslint-config": "^21.1.1",
|
|
"@ljharb/tsconfig": "^0.2.2",
|
|
"@types/call-bind": "^1.0.5",
|
|
"@types/get-intrinsic": "^1.2.3",
|
|
"@types/has-symbols": "^1.0.2",
|
|
"@types/isarray": "^2.0.2",
|
|
"@types/tape": "^5.6.5",
|
|
"auto-changelog": "^2.5.0",
|
|
"encoding": "^0.1.13",
|
|
"eslint": "=8.8.0",
|
|
"evalmd": "^0.0.19",
|
|
"in-publish": "^2.0.1",
|
|
"mock-property": "^1.1.0",
|
|
"npmignore": "^0.3.1",
|
|
"nyc": "^10.3.2",
|
|
"safe-publish-latest": "^2.0.0",
|
|
"set-function-length": "^1.2.2",
|
|
"tape": "^5.9.0",
|
|
"typescript": "next"
|
|
},
|
|
"dependencies": {
|
|
"call-bind": "^1.0.8",
|
|
"call-bound": "^1.0.2",
|
|
"get-intrinsic": "^1.2.6",
|
|
"has-symbols": "^1.1.0",
|
|
"isarray": "^2.0.5"
|
|
},
|
|
"auto-changelog": {
|
|
"output": "CHANGELOG.md",
|
|
"template": "keepachangelog",
|
|
"unreleased": false,
|
|
"commitLimit": false,
|
|
"backfillLimit": false,
|
|
"hideCredit": true
|
|
},
|
|
"publishConfig": {
|
|
"ignore": [
|
|
".github/workflows"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=0.4"
|
|
}
|
|
}
|