{
  "name": "@weapp-core/shared",
  "type": "module",
  "version": "3.5.0",
  "description": "Shared runtime-safe utilities and platform contracts for the weapp-vite ecosystem.",
  "author": "ice breaker <1324318532@qq.com>",
  "license": "MIT",
  "homepage": "https://github.com/weapp-vite/weapp-vite#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/weapp-vite/weapp-vite.git",
    "directory": "@weapp-core/shared"
  },
  "bugs": {
    "url": "https://github.com/weapp-vite/weapp-vite/issues"
  },
  "keywords": [
    "weapp-vite",
    "weapp",
    "wechat",
    "mini-program",
    "miniprogram",
    "vite",
    "runtime"
  ],
  "sideEffects": false,
  "tsd": {
    "compilerOptions": {
      "module": "NodeNext",
      "moduleResolution": "NodeNext"
    }
  },
  "weapp-vite-dev": {
    "exports": {
      ".": {
        "types": "./src/index.ts",
        "default": "./src/index.ts"
      },
      "./rich-text": {
        "types": "./src/rich-text.ts",
        "default": "./src/rich-text.ts"
      },
      "./node": {
        "types": "./src/node.ts",
        "default": "./src/node.ts"
      },
      "./fs": {
        "types": "./src/fs/index.ts",
        "default": "./src/fs/index.ts"
      },
      "./platforms": {
        "types": "./src/platforms/index.ts",
        "default": "./src/platforms/index.ts"
      },
      "./platforms/runtime": {
        "types": "./src/platforms/runtime/index.ts",
        "default": "./src/platforms/runtime/index.ts"
      },
      "./native-dom": {
        "types": "./src/native-dom.ts",
        "default": "./src/native-dom.ts"
      }
    },
    "main": "./src/index.ts",
    "module": "./src/index.ts",
    "types": "./src/index.ts"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./rich-text": {
      "types": "./dist/rich-text.d.ts",
      "import": "./dist/rich-text.js"
    },
    "./node": {
      "types": "./dist/node.d.ts",
      "import": "./dist/node.js"
    },
    "./fs": {
      "types": "./dist/fs/index.d.ts",
      "import": "./dist/fs/index.js"
    },
    "./platforms": {
      "types": "./dist/platforms/index.d.ts",
      "import": "./dist/platforms/index.js"
    },
    "./platforms/runtime": {
      "types": "./dist/platforms/runtime/index.d.ts",
      "import": "./dist/platforms/runtime/index.js"
    },
    "./native-dom": {
      "types": "./dist/native-dom.d.ts",
      "import": "./dist/native-dom.js"
    }
  },
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "engines": {
    "node": "^22.23.4 || ^24.22.1 || >=26.12.1"
  },
  "dependencies": {
    "@types/set-value": "^4.0.3",
    "@weapp-vite/wxml": "0.0.2",
    "domhandler": "^6.0.1",
    "get-value": "^4.1.0",
    "htmlparser2": "^12.0.0"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org"
  },
  "scripts": {
    "dev": "tsdown -w --sourcemap",
    "build": "tsdown",
    "test": "vitest run",
    "test:dev": "vitest",
    "test:types": "pnpm run test:types:check",
    "test:types:check": "tsd --files \"test-d/**/*.test-d.ts\"",
    "typecheck": "tsc --noEmit",
    "release": "pnpm publish",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "sync": "repo release sync-npmmirror --package @weapp-core/shared"
  }
}