{
  "name": "asciidoctor-kroki",
  "version": "1.0.1",
  "description": "Asciidoctor extension to convert diagrams to images using Kroki",
  "type": "module",
  "main": "build/node/index.cjs",
  "module": "src/asciidoctor-kroki.js",
  "types": "build/types/src/asciidoctor-kroki.d.ts",
  "exports": {
    ".": {
      "types": "./build/types/src/asciidoctor-kroki.d.ts",
      "browser": "./build/browser/index.js",
      "require": "./build/node/index.cjs",
      "import": "./src/asciidoctor-kroki.js"
    }
  },
  "files": [
    "src",
    "build"
  ],
  "scripts": {
    "test": "npm run test:node && npm run test:browser",
    "test:node": "node --test test/*.test.js test/node/*.test.js",
    "test:browser": "vitest run --config vitest.browser.config.js",
    "lint": "biome check --write src/ test/ scripts/",
    "lint:check": "biome check src/ test/ scripts/",
    "format": "biome format --write src/ test/ scripts/",
    "format:check": "biome format src/ test/ scripts/",
    "clean": "node -e \"require('fs').rmSync('build', {recursive: true, force: true})\"",
    "build": "npm run clean && rollup -c && npm run build:types",
    "build:browser": "BUILD_TARGET=browser rollup -c",
    "build:node": "BUILD_TARGET=node rollup -c",
    "build:types": "tsc"
  },
  "dependencies": {
    "json5": "2.2.3",
    "pako": "2.2.0"
  },
  "devDependencies": {
    "@asciidoctor/core": ">=4.0.0 <5.0.0",
    "@biomejs/biome": "~2.5",
    "@rollup/plugin-commonjs": "~29.0",
    "@rollup/plugin-json": "~6.1",
    "@rollup/plugin-node-resolve": "~16.0",
    "@types/node": "^26.1.1",
    "@vitest/browser": "~4.1",
    "@vitest/browser-playwright": "~4.1",
    "rollup": "~4.62",
    "sinon": "~22.0",
    "testcontainers": "~12.0",
    "typescript": "^7.0.2"
  },
  "peerDependencies": {
    "@asciidoctor/core": ">=4.0.0 <5.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/asciidoctor/asciidoctor-kroki.git"
  },
  "keywords": [
    "asciidoctor",
    "kroki",
    "diagrams",
    "javascript",
    "extension"
  ],
  "author": "Guillaume Grossetie (https://github.com/ggrossetie)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/asciidoctor/asciidoctor-kroki/issues"
  },
  "homepage": "https://github.com/asciidoctor/asciidoctor-kroki#readme",
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=22"
  },
  "volta": {
    "node": "24.15.0"
  }
}
