{
  "name": "rollup",
  "version": "4.60.4",
  "description": "Next-generation ES module bundler",
  "main": "dist/rollup.js",
  "module": "dist/es/rollup.js",
  "types": "dist/rollup.d.ts",
  "bin": {
    "rollup": "dist/bin/rollup"
  },
  "napi": {
    "binaryName": "rollup",
    "packageName": "@rollup/rollup",
    "targets": [
      "aarch64-apple-darwin",
      "aarch64-linux-android",
      "aarch64-pc-windows-msvc",
      "aarch64-unknown-freebsd",
      "aarch64-unknown-linux-gnu",
      "aarch64-unknown-linux-musl",
      "armv7-linux-androideabi",
      "armv7-unknown-linux-gnueabihf",
      "armv7-unknown-linux-musleabihf",
      "i686-pc-windows-msvc",
      "loongarch64-unknown-linux-gnu",
      "loongarch64-unknown-linux-musl",
      "riscv64gc-unknown-linux-gnu",
      "riscv64gc-unknown-linux-musl",
      "powerpc64le-unknown-linux-gnu",
      "powerpc64le-unknown-linux-musl",
      "s390x-unknown-linux-gnu",
      "x86_64-apple-darwin",
      "x86_64-pc-windows-gnu",
      "x86_64-pc-windows-msvc",
      "x86_64-unknown-freebsd",
      "x86_64-unknown-linux-gnu",
      "x86_64-unknown-linux-musl",
      "x86_64-unknown-openbsd",
      "aarch64-unknown-linux-ohos"
    ]
  },
  "scripts": {
    "build": "concurrently -c green,blue \"npm run build:wasm\" \"npm:build:ast-converters\" && concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js\" && npm run build:copy-native",
    "build:quick": "concurrently -c green,blue 'npm:build:napi' 'npm:build:cjs' && npm run build:copy-native",
    "build:napi": "napi build --cwd rust/bindings_napi --platform --dts ../../native.d.ts --no-js --output-dir ../.. --package-json-path ../../package.json",
    "build:wasm": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm --target web --no-pack && shx rm wasm/.gitignore",
    "build:wasm:node": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm-node --target nodejs --no-pack && shx rm wasm-node/.gitignore",
    "update:napi": "npm run build:napi && npm run build:copy-native",
    "build:js": "rollup --config rollup.config.ts --configPlugin typescript --forceExit",
    "build:js:node": "rollup --config rollup.config.ts --configPlugin typescript --configIsBuildNode --forceExit",
    "build:prepare": "concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js:node\" && npm run build:copy-native",
    "update:js": "npm run build:js && npm run build:copy-native",
    "build:copy-native": "shx mkdir -p dist && shx cp rollup.*.node dist/",
    "dev": "concurrently -kc green,blue 'nodemon --watch rust -e rs --exec \"npm run build:wasm\"' 'vitepress dev docs'",
    "build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit",
    "build:bootstrap": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --forceExit && shx rm -rf dist-build",
    "build:bootstrap:cjs": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit && shx rm -rf dist-build",
    "build:docs": "vitepress build docs",
    "build:ast-converters": "node scripts/generate-ast-converters.js",
    "preview:docs": "vitepress preview docs",
    "ci:artifacts": "napi artifacts",
    "ci:lint": "concurrently -c red,yellow,green,blue 'npm:lint:js:nofix' 'npm:lint:native-js' 'npm:lint:markdown:nofix' 'npm:lint:rust:nofix'",
    "ci:test:all": "concurrently --kill-others-on-fail -c green,blue,magenta,cyan 'npm:test:only' 'npm:test:typescript' 'npm:test:leak' 'npm:test:browser'",
    "ci:coverage": "NODE_OPTIONS=--no-experimental-require-module nyc --reporter lcovonly mocha",
    "lint": "concurrently -c red,yellow,green,blue 'npm:lint:js' 'npm:lint:native-js' 'npm:lint:markdown' 'npm:lint:rust'",
    "lint:js": "eslint . --fix --cache --concurrency auto",
    "lint:js:nofix": "eslint . --cache --concurrency auto",
    "lint:native-js": "node scripts/lint-native-js.js",
    "lint:markdown": "prettier --write \"**/*.md\"",
    "lint:markdown:nofix": "prettier --check \"**/*.md\"",
    "lint:rust": "cd rust && cargo fmt && cargo clippy --fix --allow-dirty",
    "lint:rust:nofix": "cd rust && cargo fmt --check && cargo clippy",
    "perf": "npm run build:bootstrap:cjs && node --expose-gc scripts/perf-report/index.js",
    "prepare": "husky && npm run prepare:patch && node scripts/check-release.js || npm run build:prepare",
    "prepare:patch": "patch-package",
    "prepublishOnly": "node scripts/check-release.js && node scripts/prepublish.js",
    "postpublish": "node scripts/postpublish.js",
    "prepublish:napi": "napi prepublish --no-gh-release",
    "release": "node scripts/prepare-release.js",
    "release:docs": "git fetch --update-head-ok origin master:master && git branch --force documentation-published master && git push origin documentation-published",
    "check-audit": "check-audit",
    "resolve-audit": "resolve-audit",
    "test": "npm run build && npm run test:all",
    "test:update-snapshots": "node scripts/update-snapshots.js",
    "test:cjs": "npm run build:cjs && npm run test:only",
    "test:quick": "mocha -b test/test.js",
    "test:all": "concurrently --kill-others-on-fail -c green,blue,magenta,cyan,red 'npm:test:only' 'npm:test:browser' 'npm:test:typescript' 'npm:test:package' 'npm:test:options'",
    "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
    "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
    "test:leak": "npm install --no-save weak-napi && node --expose-gc test/leak/index.js",
    "test:package": "node scripts/test-package.js",
    "test:options": "node scripts/test-options.js",
    "test:only": "mocha test/test.js",
    "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit -p . && tsc --noEmit -p scripts && vue-tsc --noEmit -p docs",
    "test:browser": "mocha test/browser/index.js",
    "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/rollup/rollup.git"
  },
  "keywords": [
    "modules",
    "bundler",
    "bundling",
    "es6",
    "optimizer"
  ],
  "author": "Rich Harris",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/rollup/rollup/issues"
  },
  "homepage": "https://rollupjs.org/",
  "optionalDependencies": {
    "fsevents": "~2.3.2",
    "@rollup/rollup-darwin-arm64": "4.60.4",
    "@rollup/rollup-android-arm64": "4.60.4",
    "@rollup/rollup-win32-arm64-msvc": "4.60.4",
    "@rollup/rollup-freebsd-arm64": "4.60.4",
    "@rollup/rollup-linux-arm64-gnu": "4.60.4",
    "@rollup/rollup-linux-arm64-musl": "4.60.4",
    "@rollup/rollup-android-arm-eabi": "4.60.4",
    "@rollup/rollup-linux-arm-gnueabihf": "4.60.4",
    "@rollup/rollup-linux-arm-musleabihf": "4.60.4",
    "@rollup/rollup-win32-ia32-msvc": "4.60.4",
    "@rollup/rollup-linux-loong64-gnu": "4.60.4",
    "@rollup/rollup-linux-loong64-musl": "4.60.4",
    "@rollup/rollup-linux-riscv64-gnu": "4.60.4",
    "@rollup/rollup-linux-riscv64-musl": "4.60.4",
    "@rollup/rollup-linux-ppc64-gnu": "4.60.4",
    "@rollup/rollup-linux-ppc64-musl": "4.60.4",
    "@rollup/rollup-linux-s390x-gnu": "4.60.4",
    "@rollup/rollup-darwin-x64": "4.60.4",
    "@rollup/rollup-win32-x64-gnu": "4.60.4",
    "@rollup/rollup-win32-x64-msvc": "4.60.4",
    "@rollup/rollup-freebsd-x64": "4.60.4",
    "@rollup/rollup-linux-x64-gnu": "4.60.4",
    "@rollup/rollup-linux-x64-musl": "4.60.4",
    "@rollup/rollup-openbsd-x64": "4.60.4",
    "@rollup/rollup-openharmony-arm64": "4.60.4"
  },
  "dependencies": {
    "@types/estree": "1.0.8"
  },
  "devDependenciesComments": {
    "core-js": "We only update manually as every update requires a snapshot update"
  },
  "devDependencies": {
    "@codemirror/commands": "^6.10.3",
    "@codemirror/lang-javascript": "^6.2.5",
    "@codemirror/language": "^6.12.3",
    "@codemirror/search": "^6.7.0",
    "@codemirror/state": "^6.6.0",
    "@codemirror/view": "^6.41.1",
    "@emnapi/core": "^1.10.0",
    "@emnapi/runtime": "^1.10.0",
    "@eslint/js": "^10.0.1",
    "@inquirer/prompts": "^7.10.1",
    "@jridgewell/sourcemap-codec": "^1.5.5",
    "@mermaid-js/mermaid-cli": "^11.14.0",
    "@napi-rs/cli": "3.4.1",
    "@rollup/plugin-alias": "^6.0.0",
    "@rollup/plugin-buble": "^1.0.3",
    "@rollup/plugin-commonjs": "^29.0.2",
    "@rollup/plugin-json": "^6.1.0",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-replace": "^6.0.3",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "^12.3.0",
    "@rollup/pluginutils": "^5.3.0",
    "@shikijs/vitepress-twoslash": "^4.0.2",
    "@types/mocha": "^10.0.10",
    "@types/node": "^20.19.39",
    "@types/picomatch": "^4.0.3",
    "@types/semver": "^7.7.1",
    "@types/yargs-parser": "^21.0.3",
    "@vue/language-server": "^3.2.8",
    "acorn": "^8.16.0",
    "acorn-import-assertions": "^1.9.0",
    "acorn-import-phases": "^1.0.4",
    "acorn-jsx": "^5.3.2",
    "buble": "^0.20.0",
    "builtin-modules": "^5.1.0",
    "chokidar": "^3.6.0",
    "concurrently": "^9.2.1",
    "core-js": "3.38.1",
    "date-time": "^4.0.0",
    "es5-shim": "^4.6.7",
    "es6-shim": "^0.35.8",
    "eslint": "^10.3.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.5",
    "eslint-plugin-unicorn": "^64.0.0",
    "eslint-plugin-vue": "^10.9.0",
    "fixturify": "^3.0.0",
    "flru": "^1.0.2",
    "fs-extra": "^11.3.4",
    "github-api": "^3.4.0",
    "globals": "^17.6.0",
    "husky": "^9.1.7",
    "is-reference": "^3.0.3",
    "lint-staged": "^16.4.0",
    "locate-character": "^3.0.0",
    "magic-string": "^0.30.21",
    "memfs": "^4.57.2",
    "mocha": "11.7.5",
    "nodemon": "^3.1.14",
    "npm-audit-resolver": "^3.0.0-RC.0",
    "nyc": "^18.0.0",
    "patch-package": "^8.0.1",
    "picocolors": "^1.1.1",
    "picomatch": "^4.0.4",
    "pinia": "^3.0.4",
    "prettier": "^3.8.3",
    "prettier-plugin-organize-imports": "^4.3.0",
    "pretty-bytes": "^7.1.0",
    "pretty-ms": "^9.3.0",
    "react": "^19.2.5",
    "react-dom": "^19.2.5",
    "requirejs": "^2.3.8",
    "rollup": "^4.60.3",
    "rollup-plugin-license": "^3.7.1",
    "semver": "^7.7.4",
    "shx": "^0.4.0",
    "signal-exit": "^4.1.0",
    "source-map": "^0.7.6",
    "source-map-support": "^0.5.21",
    "systemjs": "^6.15.1",
    "terser": "^5.46.2",
    "tslib": "^2.8.1",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.59.2",
    "vite": "^7.3.2",
    "vitepress": "^1.6.4",
    "vue": "^3.5.33",
    "vue-eslint-parser": "^10.4.0",
    "vue-tsc": "^3.2.8",
    "wasm-pack": "^0.13.1",
    "yargs-parser": "^21.1.1"
  },
  "overrides": {
    "axios": "^1.16.0",
    "esbuild": ">0.24.2",
    "lodash-es": ">4.17.22",
    "path-scurry": {
      "lru-cache": ">=11.0.0"
    },
    "readable-stream": "npm:@built-in/readable-stream@1",
    "semver": "^7.7.4",
    "tar": ">7.5.6",
    "vite": "$vite"
  },
  "comments": {
    "vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges",
    "@emnapi/core": "If missing this fails npm install for Linux ARM",
    "@emnapi/runtime": "If missing this fails npm install for Linux ARM",
    "react": "If missing this fails npm install for Linux ARM",
    "react-dom": "If missing this fails npm install for Linux ARM"
  },
  "files": [
    "dist/*.node",
    "dist/**/*.js",
    "dist/*.d.ts",
    "dist/bin/rollup",
    "dist/es/package.json"
  ],
  "engines": {
    "node": ">=18.0.0",
    "npm": ">=8.0.0"
  },
  "exports": {
    ".": {
      "types": "./dist/rollup.d.ts",
      "import": "./dist/es/rollup.js",
      "require": "./dist/rollup.js"
    },
    "./loadConfigFile": {
      "types": "./dist/loadConfigFile.d.ts",
      "require": "./dist/loadConfigFile.js",
      "default": "./dist/loadConfigFile.js"
    },
    "./getLogFilter": {
      "types": "./dist/getLogFilter.d.ts",
      "import": "./dist/es/getLogFilter.js",
      "require": "./dist/getLogFilter.js"
    },
    "./parseAst": {
      "types": "./dist/parseAst.d.ts",
      "import": "./dist/es/parseAst.js",
      "require": "./dist/parseAst.js"
    },
    "./dist/*": "./dist/*",
    "./package.json": "./package.json"
  }
}