{
  "name": "@wenyan-md/core",
  "version": "1.0.13",
  "description": "Core library for Wenyan markdown rendering & publishing",
  "author": "Lei <caol64@gmail.com> (https://github.com/caol64)",
  "license": "Apache-2.0",
  "keywords": [
    "公众号",
    "markdown",
    "文颜",
    "wenyan",
    "wechat",
    "publishing",
    "renderer"
  ],
  "type": "module",
  "files": [
    "dist"
  ],
  "homepage": "https://github.com/caol64/wenyan-core#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/caol64/wenyan-core.git"
  },
  "bugs": {
    "url": "https://github.com/caol64/wenyan-core/issues"
  },
  "exports": {
    ".": {
      "import": "./dist/core.js",
      "browser": "./dist/browser/wenyan-core.js"
    },
    "./publish": {
      "import": "./dist/publish.js",
      "types": "./dist/types/publish.d.ts"
    },
    "./wrapper": {
      "import": "./dist/wrapper.js",
      "types": "./dist/types/wrapper.d.ts"
    },
    "./theme": {
      "import": "./dist/theme.js",
      "types": "./dist/types/theme.d.ts"
    },
    "./hltheme": {
      "import": "./dist/hltheme.js",
      "types": "./dist/types/hltheme.d.ts"
    }
  },
  "devDependencies": {
    "@types/jsdom": "^21.1.7",
    "@types/node": "^24.3.0",
    "ts-lib": "^0.0.5",
    "typescript": "^5.9.2",
    "vite": "^7.1.4",
    "vitest": "^3.2.4"
  },
  "dependencies": {
    "css-tree": "3.0.1",
    "formdata-node": "^6.0.3",
    "front-matter": "^4.0.2",
    "highlight.js": "11.10.0",
    "jsdom": "^26.1.0",
    "marked": "^15.0.12",
    "marked-highlight": "^2.2.1",
    "mathjax-full": "3.2.2"
  },
  "scripts": {
    "dev": "vite build --watch",
    "build": "vite build && tsc",
    "build:browser": "vite build --config vite.config.browser.ts",
    "build:styles": "vite build --config vite.config.styles.ts",
    "build:math": "vite build --config vite.config.math.ts",
    "build:all": "pnpm build && pnpm build:styles && pnpm build:math && pnpm build:browser",
    "test:main": "pnpm build && vitest run main.test.js",
    "test:wrapper": "pnpm build && vitest run wrapper.test.js",
    "test:publish": "pnpm build && vitest run test/publish.test.js",
    "test:realPublish": "pnpm build && vitest run test/realPublish.test.js"
  }
}