{
  "name": "lightning-yaml",
  "version": "0.1.1",
  "type": "module",
  "description": "A fast, spec-compliant YAML 1.2 parser and stringifier for JavaScript — approaching JSON.parse speed.",
  "license": "Apache-2.0",
  "author": "Joseph Siddall <j.b.siddall@gmail.com>",
  "homepage": "https://lightning-yaml.dev",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jbsiddall/lightning-yaml.git"
  },
  "bugs": {
    "url": "https://github.com/jbsiddall/lightning-yaml/issues"
  },
  "keywords": [
    "yaml",
    "parser",
    "yaml-parser",
    "yaml-1.2",
    "json",
    "stringify",
    "fast"
  ],
  "packageManager": "pnpm@10.33.0",
  "engines": {
    "node": ">=20"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    },
    "./yaml": {
      "import": {
        "types": "./dist/yaml-compat.d.ts",
        "default": "./dist/yaml-compat.js"
      },
      "require": {
        "types": "./dist/yaml-compat.d.cts",
        "default": "./dist/yaml-compat.cjs"
      }
    },
    "./js-yaml": {
      "import": {
        "types": "./dist/js-yaml-compat.d.ts",
        "default": "./dist/js-yaml-compat.js"
      },
      "require": {
        "types": "./dist/js-yaml-compat.d.cts",
        "default": "./dist/js-yaml-compat.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "sideEffects": false,
  "unpkg": "./dist/lightning-yaml.min.js",
  "jsdelivr": "./dist/lightning-yaml.min.js",
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "scripts": {
    "gen:fixtures": "node --import tsx bench/fixtures/generate.ts",
    "gen:suite": "bash bench/yaml-test-suite/fetch.sh",
    "bench:speed": "node --expose-gc --import tsx bench/speed/parse.bench.ts && node --expose-gc --import tsx bench/speed/stringify.bench.ts",
    "bench:memory": "node --expose-gc --import tsx bench/memory/run.ts",
    "bench:self": "node --expose-gc --import tsx bench/report.ts self",
    "bench:competition": "node --expose-gc --import tsx bench/report.ts competition",
    "bench:bundlesize": "node bench/bundlesize/run.mjs",
    "bench": "pnpm gen:fixtures && pnpm bench:competition && pnpm bench:self",
    "build": "tsup",
    "prepublishOnly": "pnpm build",
    "test": "vitest run",
    "test:unit": "node --import tsx --test test/parser.unit.ts test/adversarial.unit.ts",
    "test:stringify": "node --import tsx --test test/stringify.unit.ts",
    "test:watch": "vitest",
    "test:suite": "pnpm gen:suite && node --import tsx bench/conformance/run.ts",
    "test:compat": "node --import tsx bench/conformance/compat.ts",
    "typecheck": "tsc --noEmit",
    "changeset": "changeset",
    "version-packages": "changeset version"
  },
  "devDependencies": {
    "@changesets/changelog-github": "^0.7.0",
    "@changesets/cli": "^2.31.1",
    "@types/node": "^22.10.0",
    "js-yaml": "^5.2.1",
    "mitata": "^1.0.34",
    "tsup": "^8.5.1",
    "tsx": "^4.23.0",
    "typescript": "^5.7.0",
    "vitest": "^4.1.10",
    "yaml": "^2.9.0"
  }
}
