{
  "name": "marklite",
  "version": "0.3.12",
  "description": "Lightweight Markdown Editor for Windows",
  "main": "./dist/main/index.js",
  "scripts": {
    "dev": "electron-vite dev",
    "build": "electron-vite build && electron-builder --win",
    "build:portable": "electron-vite build && electron-builder --win portable",
    "lint": "eslint src/",
    "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
    "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "prepare": "husky"
  },
  "lint-staged": {
    "*.{ts,tsx}": [
      "eslint --fix",
      "bash -c 'tsc --noEmit --pretty --skipLibCheck'"
    ],
    "*.{json,css,md}": [
      "prettier --write"
    ]
  },
  "author": "MarkLite",
  "license": "MIT",
  "dependencies": {
    "@milkdown/core": "7.21.1",
    "@milkdown/ctx": "7.21.1",
    "@milkdown/plugin-clipboard": "7.21.1",
    "@milkdown/plugin-history": "7.21.1",
    "@milkdown/plugin-indent": "7.21.1",
    "@milkdown/plugin-listener": "7.21.1",
    "@milkdown/plugin-trailing": "7.21.1",
    "@milkdown/preset-commonmark": "7.21.1",
    "@milkdown/preset-gfm": "7.21.1",
    "@milkdown/prose": "7.21.1",
    "@milkdown/react": "7.21.1",
    "@milkdown/utils": "7.21.1",
    "dexie": "^4.0.11",
    "nanoid": "^5.1.5",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "rehype-highlight": "^7.0.2",
    "rehype-raw": "^7.0.0",
    "rehype-sanitize": "^6.0.0",
    "rehype-stringify": "^10.0.0",
    "remark-gfm": "^4.0.1",
    "remark-parse": "^11.0.0",
    "remark-rehype": "^11.1.2",
    "unified": "^11.0.5",
    "unist-util-visit": "^5.1.0",
    "zustand": "^5.0.6"
  },
  "devDependencies": {
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@types/jsdom": "^28.0.3",
    "@types/react": "^18.3.18",
    "@types/react-dom": "^18.3.5",
    "@typescript-eslint/eslint-plugin": "^8.26.1",
    "@vitejs/plugin-react": "^4.3.4",
    "electron": "^28.3.3",
    "electron-builder": "^25.1.8",
    "electron-vite": "^3.0.0",
    "eslint": "^9.22.0",
    "eslint-plugin-react-hooks": "^5.2.0",
    "eslint-plugin-react-refresh": "^0.4.19",
    "husky": "^9.1.7",
    "jsdom": "^29.1.1",
    "lint-staged": "^17.0.7",
    "prettier": "^3.8.3",
    "typescript": "^5.6.3",
    "typescript-eslint": "^8.60.1",
    "vitest": "^4.1.8"
  },
  "build": {
    "appId": "com.marklite.app",
    "productName": "MarkLite",
    "directories": {
      "output": "dist"
    },
    "files": [
      "dist/**/*",
      "assets/**/*"
    ],
    "win": {
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64"
          ]
        }
      ],
      "icon": "assets/icon.ico"
    },
    "nsis": {
      "oneClick": false,
      "allowToChangeInstallationDirectory": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "shortcutName": "MarkLite"
    },
    "fileAssociations": [
      {
        "ext": "md",
        "name": "Markdown",
        "description": "Markdown File",
        "icon": "assets/icon.ico"
      },
      {
        "ext": "markdown",
        "name": "Markdown",
        "description": "Markdown File",
        "icon": "assets/icon.ico"
      },
      {
        "ext": "txt",
        "name": "Text",
        "description": "Text File",
        "icon": "assets/icon.ico"
      }
    ]
  },
  "allowScripts": {
    "electron": true,
    "esbuild": true
  }
}
