{
  "name": "atlas-dashboard",
  "version": "0.32.0",
  "description": "本地 HTML / Markdown 文档统一浏览/管理 dashboard：扫描你指定的目录，提供统一目录树、未读红点、和上次已读版本对比、桌面通知、Markdown 实时预览与编辑。",
  "keywords": [
    "html",
    "markdown",
    "md",
    "dashboard",
    "preview",
    "viewer",
    "local",
    "localhost",
    "ai-output",
    "documentation"
  ],
  "license": "MIT",
  "main": "server.js",
  "bin": {
    "atlas": "bin/atlas.js"
  },
  "files": [
    "bin/",
    "lib/",
    "public/",
    "server.js",
    "README.md",
    "LICENSE"
  ],
  "homepage": "https://damonamber.github.io/atlas-dashboard/",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/DamonAmber/atlas-dashboard.git"
  },
  "bugs": {
    "url": "https://github.com/DamonAmber/atlas-dashboard/issues"
  },
  "author": "DamonAmber",
  "scripts": {
    "start": "node bin/atlas.js",
    "dev": "node --watch bin/atlas.js",
    "app": "electron electron/main.js",
    "app:build": "electron-builder --mac --publish never",
    "test": "node tests/fs-watcher.spec.js && node tests/inline-edit.spec.js && node tests/sidebar.spec.js && node tests/scroll-stuck.spec.js && node tests/no-sortable-leak.spec.js && node tests/sse-leak-and-retry.spec.js && node tests/toast.spec.js && node tests/preview-live-edit.spec.js && node tests/diff-algorithm.spec.js && node tests/md-render-and-roundtrip.spec.js && node tests/md-table-escaped-pipe.spec.js && node tests/md-editor-ux.spec.js && node tests/quickopen-a11y-rename.spec.js && node tests/index-perf-and-search.spec.js && node tests/share-security.spec.js && node tests/diff-view.spec.js && node tests/misc-hardening.spec.js && node tests/md-pdf-export.spec.js && node tests/modal-close.spec.js && node tests/md-sync-highlight.spec.js && node tests/favorites-and-tags.spec.js && node tests/preview-shortcut-bridge.spec.js && node tests/quickopen-content-search.spec.js && node tests/shortcuts-panel.spec.js && node tests/archive-and-collapse-all.spec.js && node tests/folder-rename-persistence.spec.js && node tests/folder-reveal-and-toc-resize.spec.js && node tests/diff-versions-and-revert.spec.js && node tests/rich-render.spec.js && node tests/sandbox-trust.spec.js && node tests/plain-formats.spec.js && node tests/multi-tab.spec.js && node tests/find-in-page.spec.js && node tests/tree-view-and-open.spec.js && node tests/md-fence-infostring.spec.js && node tests/perf-and-limits.spec.js && node tests/changelog.spec.js && node tests/md-table-edit.spec.js && node tests/md-table-drag-persist.spec.js && node tests/tree-lazy-render.spec.js && node tests/scan-guardrails.spec.js && node tests/tree-no-ghost-drag-artifacts.spec.js && node tests/tree-toggle-perf.spec.js && node tests/contrast-tokens.spec.js && node tests/motion-reduced.spec.js && node tests/desktop-chrome.spec.js && node tests/sidebar-tree-alignment.spec.js && node tests/filter-consistency.spec.js && node tests/thumbnail.spec.js && node tests/peek-preview.spec.js && node tests/star-map.spec.js && node tests/link-index.spec.js && node tests/activity-log.spec.js && node tests/time-river.spec.js && node tests/focus-mode.spec.js && node tests/sidebar-row-stability.spec.js && node tests/minimap-layout.spec.js && node tests/river-scale.spec.js && node tests/settings-theme-motion.spec.js && node tests/sidebar-header-narrow.spec.js && node tests/theme-overlay-continuity.spec.js && node tests/icloud-unit.spec.js && node tests/icloud-watcher.spec.js && node tests/icloud-api.spec.js && node tests/icloud-ui.spec.js",
    "test:all": "for f in tests/*.spec.js; do echo \"=== $f ===\"; node \"$f\" || exit 1; done"
  },
  "engines": {
    "node": ">=18"
  },
  "build": {
    "appId": "com.damonamber.atlas",
    "productName": "Atlas",
    "artifactName": "${productName}-mac-${arch}.${ext}",
    "extraMetadata": {
      "main": "electron/main.js"
    },
    "asar": false,
    "directories": {
      "output": "dist-app",
      "buildResources": "electron/build"
    },
    "files": [
      "electron/**",
      "server.js",
      "lib/**",
      "public/**",
      "package.json",
      "!**/*.map",
      "!**/.DS_Store"
    ],
    "fileAssociations": [
      {
        "ext": [
          "md",
          "markdown"
        ],
        "name": "Markdown Document",
        "description": "Markdown 文档",
        "role": "Editor",
        "rank": "Alternate"
      },
      {
        "ext": [
          "html",
          "htm"
        ],
        "name": "HTML Document",
        "description": "HTML 文档",
        "role": "Viewer",
        "rank": "Alternate"
      },
      {
        "ext": [
          "txt",
          "text"
        ],
        "name": "Text Document",
        "description": "纯文本文档",
        "role": "Viewer",
        "rank": "Alternate"
      },
      {
        "ext": [
          "csv",
          "tsv"
        ],
        "name": "CSV Document",
        "description": "CSV 表格",
        "role": "Viewer",
        "rank": "Alternate"
      },
      {
        "ext": [
          "json"
        ],
        "name": "JSON Document",
        "description": "JSON 文件",
        "role": "Viewer",
        "rank": "Alternate"
      },
      {
        "ext": [
          "svg"
        ],
        "name": "SVG Image",
        "description": "SVG 图形",
        "role": "Viewer",
        "rank": "Alternate"
      }
    ],
    "mac": {
      "target": [
        {
          "target": "dmg",
          "arch": [
            "arm64"
          ]
        },
        {
          "target": "zip",
          "arch": [
            "arm64"
          ]
        }
      ],
      "category": "public.app-category.productivity",
      "icon": "electron/build/icon.icns",
      "hardenedRuntime": true,
      "gatekeeperAssess": false,
      "entitlements": "electron/build/entitlements.mac.plist",
      "entitlementsInherit": "electron/build/entitlements.mac.plist",
      "notarize": true
    },
    "dmg": {
      "title": "Atlas ${version}"
    },
    "publish": [
      {
        "provider": "github",
        "owner": "DamonAmber",
        "repo": "atlas-dashboard"
      }
    ]
  },
  "dependencies": {
    "chokidar": "^5.0.0",
    "electron-updater": "^6.8.9",
    "express": "^4.19.2",
    "parse5": "^8.0.1",
    "prompts": "^2.4.2"
  },
  "devDependencies": {
    "electron": "^44.1.0",
    "electron-builder": "^26.15.3",
    "playwright": "^1.60.0"
  }
}
