{
  "name": "polytypo",
  "version": "1.30.0",
  "description": "Normalize typography across languages: locale-correct quotes, dashes, ellipses and no-break spaces.",
  "keywords": [
    "typography",
    "normalize-typography",
    "i18n",
    "l10n",
    "locale",
    "quotes",
    "smart-quotes",
    "dashes",
    "em-dash",
    "ellipsis",
    "apostrophe",
    "punctuation",
    "unicode",
    "markdown",
    "html"
  ],
  "homepage": "https://polytypo.dev/",
  "bugs": {
    "url": "https://github.com/polytypo/polytypo-js/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/polytypo/polytypo-js.git"
  },
  "license": "MIT",
  "author": "Iurii Rogulia",
  "type": "module",
  "private": false,
  "sideEffects": false,
  "publishConfig": {
    "provenance": true
  },
  "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"
      }
    },
    "./text": {
      "import": {
        "types": "./dist/text.d.ts",
        "default": "./dist/text.js"
      },
      "require": {
        "types": "./dist/text.d.cts",
        "default": "./dist/text.cjs"
      }
    },
    "./html": {
      "import": {
        "types": "./dist/html.d.ts",
        "default": "./dist/html.js"
      },
      "require": {
        "types": "./dist/html.d.cts",
        "default": "./dist/html.cjs"
      }
    },
    "./markdown": {
      "import": {
        "types": "./dist/markdown.d.ts",
        "default": "./dist/markdown.js"
      },
      "require": {
        "types": "./dist/markdown.d.cts",
        "default": "./dist/markdown.cjs"
      }
    },
    "./yaml": {
      "import": {
        "types": "./dist/yaml.d.ts",
        "default": "./dist/yaml.js"
      },
      "require": {
        "types": "./dist/yaml.d.cts",
        "default": "./dist/yaml.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist"
  ],
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "gen": "node scripts/gen-locales.mjs",
    "test": "npm run gen && vitest run",
    "build": "npm run gen && tsup",
    "prepare": "npm run build",
    "check:entry-reach": "node scripts/check-entry-reach.mjs",
    "check:declaration-resolution": "npx tsc -p tests/packaging/tsconfig.nodenext.json && node scripts/check-declaration-resolution.mjs",
    "check:bundle-size": "node scripts/check-bundle-size.mjs",
    "check:install-footprint": "node scripts/check-install-footprint.mjs",
    "check:package-contents": "node scripts/check-package-contents.mjs",
    "check:workflow-shell-safety": "node scripts/check-workflow-shell-safety.mjs",
    "check:actions-pinned": "node scripts/check-actions-pinned.mjs",
    "test:packaging": "npm run build && node tests/packaging/run.mjs",
    "test:packed-tarball": "node tests/packaging/packed-tarball.mjs",
    "dogfood:m4": "npx tsx scripts/dogfood-m4.ts",
    "lint": "eslint .",
    "format": "prettier --write ."
  },
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@types/node": "^26.2.0",
    "ajv": "^8.20.0",
    "ajv-formats": "^3.0.1",
    "diff": "^9.0.0",
    "esbuild": "^0.27.7",
    "eslint": "^10.8.1",
    "fast-check": "^4.9.0",
    "globals": "^17.11.0",
    "micromark-util-types": "^2.0.2",
    "prettier": "^3.9.6",
    "tsup": "^8.5.1",
    "tsx": "^4.23.12",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.67.0",
    "vitest": "^4.1.10",
    "yaml": "^2.9.1"
  },
  "dependencies": {
    "micromark": "^4.0.2",
    "micromark-extension-frontmatter": "^2.0.0",
    "micromark-extension-gfm": "^3.0.0",
    "micromark-extension-mdxjs": "^3.0.0",
    "parse5": "^8.0.1"
  }
}
