{
  "author": "Amos Wenger <amos@bearcove.eu>",
  "bugs": {
    "url": "https://github.com/bearcove/arborium/issues"
  },
  "description": "High-performance syntax highlighting powered by tree-sitter and WebAssembly",
  "devDependencies": {
    "typescript": "^5.7.2",
    "vite": "^7.2.6",
    "vite-plugin-dts": "^4.5.0",
    "vitest": "^4.0.16"
  },
  "exports": {
    ".": {
      "import": "./dist/arborium.js",
      "types": "./dist/arborium.d.ts"
    },
    "./arborium_host.js": {
      "import": "./dist/arborium_host.js",
      "types": "./dist/arborium_host.d.ts"
    },
    "./arborium_host_bg.wasm": {
      "import": "./dist/arborium_host_bg.wasm"
    },
    "./iife": {
      "import": "./dist/arborium.iife.js"
    },
    "./themes/alabaster.css": "./dist/themes/alabaster.css",
    "./themes/ayu-dark.css": "./dist/themes/ayu-dark.css",
    "./themes/ayu-light.css": "./dist/themes/ayu-light.css",
    "./themes/base-rustdoc.css": "./dist/themes/base-rustdoc.css",
    "./themes/base.css": "./dist/themes/base.css",
    "./themes/catppuccin-frappe.css": "./dist/themes/catppuccin-frappe.css",
    "./themes/catppuccin-latte.css": "./dist/themes/catppuccin-latte.css",
    "./themes/catppuccin-macchiato.css": "./dist/themes/catppuccin-macchiato.css",
    "./themes/catppuccin-mocha.css": "./dist/themes/catppuccin-mocha.css",
    "./themes/cobalt2.css": "./dist/themes/cobalt2.css",
    "./themes/dayfox.css": "./dist/themes/dayfox.css",
    "./themes/desert256.css": "./dist/themes/desert256.css",
    "./themes/dracula.css": "./dist/themes/dracula.css",
    "./themes/ef-melissa-dark.css": "./dist/themes/ef-melissa-dark.css",
    "./themes/evergarden-fall.css": "./dist/themes/evergarden-fall.css",
    "./themes/github-dark.css": "./dist/themes/github-dark.css",
    "./themes/github-light.css": "./dist/themes/github-light.css",
    "./themes/gruvbox-dark.css": "./dist/themes/gruvbox-dark.css",
    "./themes/gruvbox-light.css": "./dist/themes/gruvbox-light.css",
    "./themes/kanagawa-dragon.css": "./dist/themes/kanagawa-dragon.css",
    "./themes/light-owl.css": "./dist/themes/light-owl.css",
    "./themes/lucius-light.css": "./dist/themes/lucius-light.css",
    "./themes/melange-dark.css": "./dist/themes/melange-dark.css",
    "./themes/melange-light.css": "./dist/themes/melange-light.css",
    "./themes/monokai.css": "./dist/themes/monokai.css",
    "./themes/nord.css": "./dist/themes/nord.css",
    "./themes/one-dark.css": "./dist/themes/one-dark.css",
    "./themes/rose-pine-moon.css": "./dist/themes/rose-pine-moon.css",
    "./themes/rustdoc-ayu.css": "./dist/themes/rustdoc-ayu.css",
    "./themes/rustdoc-dark.css": "./dist/themes/rustdoc-dark.css",
    "./themes/rustdoc-light.css": "./dist/themes/rustdoc-light.css",
    "./themes/solarized-dark.css": "./dist/themes/solarized-dark.css",
    "./themes/solarized-light.css": "./dist/themes/solarized-light.css",
    "./themes/tokyo-night.css": "./dist/themes/tokyo-night.css",
    "./themes/zenburn.css": "./dist/themes/zenburn.css"
  },
  "files": [
    "dist"
  ],
  "homepage": "https://github.com/bearcove/arborium",
  "keywords": [
    "syntax-highlighting",
    "tree-sitter",
    "wasm",
    "webassembly",
    "code",
    "highlight"
  ],
  "license": "MIT OR Apache-2.0",
  "main": "./dist/arborium.js",
  "module": "./dist/arborium.js",
  "name": "@arborium/arborium",
  "packageManager": "pnpm@11.0.9",
  "repository": {
    "directory": "packages/arborium",
    "type": "git",
    "url": "https://github.com/bearcove/arborium"
  },
  "scripts": {
    "build": "vite build && vite build --config vite.config.iife.ts && npm run copy:host",
    "build:esm": "vite build",
    "build:iife": "vite build --config vite.config.iife.ts",
    "copy:host": "cp ../../demo/pkg/arborium_host.js ../../demo/pkg/arborium_host.d.ts ../../demo/pkg/arborium_host*.wasm dist/",
    "dev": "vite",
    "gen:manifest": "cd ../.. && cargo xtask gen-manifest",
    "prepublishOnly": "npm run gen:manifest && npm run build && test -f dist/arborium.iife.js || (echo 'ERROR: dist/arborium.iife.js missing!' && exit 1)",
    "preview": "vite preview",
    "test": "vitest run",
    "test:watch": "vitest",
    "typecheck": "tsc --noEmit"
  },
  "type": "module",
  "types": "./dist/arborium.d.ts",
  "version": "2.18.1"
}
