{
  "name": "tinymist-web",
  "version": "0.15.2",
  "description": "WASM module for running tinymist analyzers in JavaScript environment.",
  "author": "Myriad-Dreamin",
  "license": "Apache-2.0",
  "keywords": [
    "TypeScript",
    "Typst"
  ],
  "type": "module",
  "module": "pkg/tinymist.js",
  "types": "pkg/tinymist.d.ts",
  "files": [
    "pkg/tinymist_bg.wasm",
    "pkg/tinymist_bg.wasm.d.ts",
    "pkg/tinymist_bg.js",
    "pkg/tinymist.js",
    "pkg/tinymist.d.ts"
  ],
  "scripts": {
    "build:dev": "wasm-pack build --target web --dev -- --no-default-features --features web,no-content-hint",
    "build:node": "wasm-pack build --target nodejs -- --no-default-features --features web,no-content-hint",
    "build": "wasm-pack build --target web -- --no-default-features --features web,no-content-hint",
    "watch": "cargo watch -i .gitignore -i \"pkg/*\" -s \"yarn build\"",
    "publish:dry": "npm publish --dry-run",
    "publish:lib": "npm publish || exit 0",
    "test:chrome": "wasm-pack test --chrome --headless --release",
    "test:firefox": "wasm-pack test --firefox --headless --release"
  },
  "devDependencies": {
    "typescript": "^5.0.0",
    "turbo": "^2.3.3"
  }
}
