{
  "name": "rolldown-plugin-require-cjs",
  "type": "module",
  "version": "0.4.1",
  "description": "Transform ESM imports to CJS requires when the imported module is pure CJS.",
  "author": "Kevin Deng <sxzz@sxzz.moe>",
  "license": "MIT",
  "funding": "https://github.com/sponsors/sxzz",
  "homepage": "https://github.com/sxzz/rolldown-plugin-require-cjs#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sxzz/rolldown-plugin-require-cjs.git"
  },
  "bugs": {
    "url": "https://github.com/sxzz/rolldown-plugin-require-cjs/issues"
  },
  "exports": {
    ".": "./dist/index.mjs",
    "./package.json": "./package.json"
  },
  "types": "./dist/index.d.mts",
  "files": [
    "dist"
  ],
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": "^22.18.0 || >=24.0.0"
  },
  "peerDependencies": {
    "rolldown": "*"
  },
  "dependencies": {
    "cjs-module-lexer": "^2.2.0",
    "empathic": "^2.0.1",
    "import-meta-resolve": "^4.2.0",
    "magic-string-ast": "^2.0.0",
    "unplugin-utils": "^0.3.1"
  },
  "devDependencies": {
    "@babel/parser": "^7.29.7",
    "@sxzz/eslint-config": "^8.1.0",
    "@sxzz/prettier-config": "^2.3.1",
    "@sxzz/test-utils": "^0.5.18",
    "@types/node": "^25.9.3",
    "@typescript/native-preview": "7.0.0-dev.20260612.1",
    "bumpp": "^11.1.0",
    "eslint": "^10.4.1",
    "eslint-plugin-vue": "^10.9.2",
    "prettier": "^3.8.4",
    "rolldown": "1.1.1",
    "tsdown": "^0.22.2",
    "tsdown-preset-sxzz": "^0.6.0",
    "typescript": "^6.0.3",
    "vitest": "^4.1.8"
  },
  "prettier": "@sxzz/prettier-config",
  "tsdown": {
    "exports": true,
    "inlineOnly": []
  },
  "scripts": {
    "lint": "eslint --cache .",
    "lint:fix": "pnpm run lint --fix",
    "build": "tsdown",
    "dev": "tsdown --watch",
    "test": "vitest",
    "typecheck": "tsgo --noEmit",
    "format": "prettier --cache --write .",
    "release": "bumpp"
  }
}