{
  "name": "@myriaddreamin/typst-ts-renderer",
  "version": "0.7.0",
  "description": "WASM module for rendering Typst documents in browser.",
  "author": "Myriad-Dreamin",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/Myriad-Dreamin/typst.ts"
  },
  "keywords": [
    "TypeScript",
    "Typst"
  ],
  "type": "module",
  "module": "./pkg/wasm-pack-shim.mjs",
  "require": "./pkg/wasm-pack-shim.mjs",
  "types": "./pkg/typst_ts_renderer.d.ts",
  "exports": {
    ".": {
      "types": "./pkg/typst_ts_renderer.d.ts",
      "default": "./pkg/wasm-pack-shim.mjs"
    },
    "./wasm": {
      "types": "./pkg/typst_ts_renderer_bg.wasm.d.ts",
      "default": "./pkg/typst_ts_renderer_bg.wasm"
    },
    "./*": [
      "./*"
    ]
  },
  "files": [
    "pkg/wasm-pack-shim.mjs",
    "pkg/typst_ts_renderer_bg.wasm",
    "pkg/typst_ts_renderer_bg.wasm.d.ts",
    "pkg/typst_ts_renderer.mjs",
    "pkg/typst_ts_renderer.d.ts"
  ],
  "scripts": {
    "build:dev": "wasm-pack build --target web --scope myriaddreamin --dev -- --no-default-features --features web && node ../tools/wasm-debundle.mjs",
    "build:node": "wasm-pack build --target nodejs --scope myriaddreamin -- --no-default-features --features web",
    "build": "wasm-pack build --target web --scope myriaddreamin -- --no-default-features --features web && node ../tools/wasm-debundle.mjs",
    "watch": "cargo watch -i .gitignore -i \"pkg/*\" -s \"yarn build:dev\"",
    "prepublish": "turbo build",
    "publish:dry": "npm publish --dry-run --access public",
    "publish:lib": "npm publish --access public || exit 0"
  }
}
