{
  "name": "katex",
  "version": "0.16.21",
  "description": "Fast math typesetting for the web.",
  "main": "dist/katex.js",
  "exports": {
    ".": {
      "require": {
        "types": "./types/katex.d.ts",
        "default": "./dist/katex.js"
      },
      "import": {
        "types": "./types/katex.d.ts",
        "default": "./dist/katex.mjs"
      }
    },
    "./contrib/auto-render": {
      "require": "./dist/contrib/auto-render.js",
      "import": "./dist/contrib/auto-render.mjs"
    },
    "./contrib/mhchem": {
      "require": "./dist/contrib/mhchem.js",
      "import": "./dist/contrib/mhchem.mjs"
    },
    "./contrib/copy-tex": {
      "require": "./dist/contrib/copy-tex.js",
      "import": "./dist/contrib/copy-tex.mjs"
    },
    "./contrib/mathtex-script-type": {
      "require": "./dist/contrib/mathtex-script-type.js",
      "import": "./dist/contrib/mathtex-script-type.mjs"
    },
    "./contrib/render-a11y-string": {
      "require": "./dist/contrib/render-a11y-string.js",
      "import": "./dist/contrib/render-a11y-string.mjs"
    },
    "./*": "./*"
  },
  "homepage": "https://katex.org",
  "repository": {
    "type": "git",
    "url": "https://github.com/KaTeX/KaTeX.git"
  },
  "funding": [
    "https://opencollective.com/katex",
    "https://github.com/sponsors/katex"
  ],
  "files": [
    "katex.js",
    "cli.js",
    "src/",
    "contrib/",
    "dist/",
    "types/"
  ],
  "license": "MIT",
  "packageManager": "yarn@4.1.1",
  "devDependencies": {
    "@babel/core": "^7.18.13",
    "@babel/eslint-parser": "^7.18.9",
    "@babel/plugin-proposal-class-properties": "^7.18.6",
    "@babel/plugin-syntax-flow": "^7.18.6",
    "@babel/plugin-transform-react-jsx": "^7.18.10",
    "@babel/plugin-transform-runtime": "^7.18.10",
    "@babel/preset-env": "^7.18.10",
    "@babel/preset-flow": "^7.18.6",
    "@babel/preset-react": "^7.18.6",
    "@babel/register": "^7.18.9",
    "@babel/runtime": "^7.18.9",
    "@rollup/plugin-alias": "^3.1.9",
    "@rollup/plugin-babel": "^5.3.1",
    "@semantic-release/changelog": "^6.0.1",
    "@semantic-release/git": "^10.0.1",
    "babel-jest": "^29.0.1",
    "babel-loader": "^8.2.5",
    "babel-plugin-istanbul": "^6.1.1",
    "babel-plugin-preval": "^5.1.0",
    "babel-plugin-version-inline": "^1.0.0",
    "benchmark": "^2.1.4",
    "browserslist": "^4.21.3",
    "browserstack-local": "^1.5.1",
    "caniuse-lite": "^1.0.30001384",
    "css-loader": "^6.7.1",
    "cssnano": "^5.1.13",
    "eslint": "^8.23.0",
    "eslint-import-resolver-webpack": "^0.13.2",
    "eslint-plugin-actions": "^2.0.0",
    "eslint-plugin-flowtype": "^8.0.3",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-react": "^7.31.1",
    "flow-bin": "^0.135.0",
    "fs-extra": "^10.1.0",
    "got": "^11.8.5",
    "husky": "^4.3.8",
    "istanbul-lib-coverage": "^3.2.0",
    "istanbul-lib-report": "^3.0.0",
    "istanbul-reports": "^3.1.5",
    "jest": "^29.0.1",
    "jest-diff": "^29.0.1",
    "jest-environment-jsdom": "^29.0.1",
    "jest-matcher-utils": "^29.0.1",
    "jest-message-util": "^29.0.1",
    "jest-serializer-html": "^7.1.0",
    "js-yaml": "^4.1.0",
    "json-stable-stringify": "^1.0.1",
    "jspngopt": "^0.2.0",
    "mini-css-extract-plugin": "^2.6.1",
    "mkdirp": "^1.0.4",
    "p-retry": "^4.6.2",
    "pako": "^2.0.4",
    "postcss": "^8.4.16",
    "postcss-loader": "^7.0.1",
    "postcss-preset-env": "^7.8.0",
    "postcss-scss": "^4.0.9",
    "prettier": "^2.7.1",
    "query-string": "^7.1.1",
    "rimraf": "^3.0.2",
    "rollup": "^2.79.2",
    "sass": "^1.75.6",
    "sass-loader": "^14.2.1",
    "selenium-webdriver": "^4.4.0",
    "semantic-release": "^19.0.5",
    "sri-toolbox": "^0.2.0",
    "style-loader": "^3.3.1",
    "stylelint": "^14.11.0",
    "stylelint-config-standard": "^28.0.0",
    "stylelint-scss": "^6.3.2",
    "terser-webpack-plugin": "^5.3.6",
    "webpack": "^5.74.0",
    "webpack-bundle-analyzer": "^4.6.1",
    "webpack-cli": "^4.10.0",
    "webpack-dev-server": "^4.10.1"
  },
  "bin": "cli.js",
  "scripts": {
    "test": "yarn test:lint && yarn test:flow && yarn test:jest",
    "test:lint": "yarn test:lint:js && yarn test:lint:css",
    "test:lint:js": "eslint .",
    "test:lint:css": "stylelint src/styles/katex.scss static/main.css website/static/**/*.css",
    "test:flow": "flow",
    "test:jest": "jest",
    "test:jest:watch": "jest --watch",
    "test:jest:update": "jest --updateSnapshot",
    "test:jest:coverage": "jest --coverage",
    "test:screenshots": "yarn test:screenshots:update --verify",
    "test:screenshots:update": "dockers/screenshotter/screenshotter.sh",
    "test:perf": "NODE_ENV=test node test/perf-test.js",
    "clean": "rm -rf dist/ node_modules/",
    "clean-install": "yarn clean && yarn",
    "start": "webpack serve --config webpack.dev.js",
    "analyze": "webpack --config webpack.analyze.js",
    "build": "rimraf dist/ && mkdirp dist && cp README.md dist && rollup -c --failAfterWarnings && webpack && node update-sri.js package dist/README.md",
    "build:fonts": "dockers/fonts/buildFonts.sh",
    "build:metrics": "dockers/fonts/buildMetrics.sh",
    "watch": "yarn build --watch",
    "postversion": "yarn dist && node update-sri.js package README.md contrib/*/README.md docs/*.md website/pages/index.html",
    "semantic-release": "semantic-release",
    "dist": "yarn build && yarn dist:zip",
    "dist:zip": "rimraf katex/ katex.tar.gz katex.zip && cp -R dist katex && tar czf katex.tar.gz katex && zip -rq katex.zip katex && rimraf katex/"
  },
  "dependencies": {
    "commander": "^8.3.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "yarn test:lint"
    }
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.js",
      "contrib/**/*.js",
      "!src/unicodeSymbols.js",
      "!contrib/mhchem/**"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/test/setup.js"
    ],
    "snapshotSerializers": [
      "jest-serializer-html"
    ],
    "testMatch": [
      "**/test/*-spec.js"
    ],
    "testEnvironmentOptions": {
      "url": "http://localhost/"
    },
    "transform": {
      "^.+\\.js$": "babel-jest"
    },
    "moduleNameMapper": {
      "^katex$": "<rootDir>/katex.js"
    }
  }
}
