{ "name": "@sentry/bundler-plugins", "version": "10.76.2", "description": "Sentry Bundler Plugins", "repository": "git://github.com/getsentry/sentry-javascript.git", "homepage": "https://github.com/getsentry/sentry-javascript/tree/main/packages/bundler-plugins", "author": "Sentry", "license": "MIT", "publishConfig": { "access": "public", "tag": "v10" }, "files": [ "/build", "sentry-release-injection-file.js", "sentry-esbuild-debugid-injection-file.js" ], "main": "build/cjs/core/index.js", "module": "build/esm/core/index.js", "types": "build/types/core/index.d.ts", "exports": { "./package.json": "./package.json", "./webpack": { "types": "./build/types/webpack/index.d.ts", "import": "./build/esm/webpack/index.js", "require": "./build/cjs/webpack/index.js" }, "./webpack5": { "types": "./build/types/webpack/webpack5.d.ts", "import": "./build/esm/webpack/webpack5.js", "require": "./build/cjs/webpack/webpack5.js" }, "./rollup": { "types": "./build/types/rollup/index.d.ts", "import": "./build/esm/rollup/index.js", "require": "./build/cjs/rollup/index.js" }, "./vite": { "types": "./build/types/vite/index.d.ts", "import": "./build/esm/vite/index.js", "require": "./build/cjs/vite/index.js" }, "./esbuild": { "types": "./build/types/esbuild/index.d.ts", "import": "./build/esm/esbuild/index.js", "require": "./build/cjs/esbuild/index.js" }, "./core": { "types": "./build/types/core/index.d.ts", "import": "./build/esm/core/index.js", "require": "./build/cjs/core/index.js" }, "./babel-plugin": { "types": "./build/types/babel-plugin/index.d.ts", "import": "./build/esm/babel-plugin/index.js", "require": "./build/cjs/babel-plugin/index.js" }, "./sentry-release-injection-file": { "import": "./sentry-release-injection-file.js", "require": "./sentry-release-injection-file.js" }, "./sentry-esbuild-debugid-injection-file": { "import": "./sentry-esbuild-debugid-injection-file.js", "require": "./sentry-esbuild-debugid-injection-file.js" }, "./webpack-loader": { "require": "./build/cjs/webpack/component-annotation-transform.js" } }, "scripts": { "build": "run-p build:transpile build:types", "build:dev": "yarn build", "build:version": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/core/version.ts", "build:transpile": "rollup -c rollup.npm.config.mjs", "build:types": "run-s build:types:core build:types:downlevel", "build:types:core": "tsc -p tsconfig.types.json", "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", "build:watch": "run-p build:transpile:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch", "build:tarball": "npm pack", "prebuild": "yarn build:version", "precheck:types": "yarn build:version", "pretest": "yarn build:version", "pretest:unit": "yarn build:version", "check:types": "run-p check:types:src check:types:test", "check:types:src": "tsc --project ./tsconfig.json --noEmit", "check:types:test": "tsc --project ./test/tsconfig.json --noEmit", "clean": "rimraf build dist coverage sentry-bundler-plugins-*.tgz", "clean:all": "run-p clean clean:deps", "clean:deps": "rimraf node_modules", "lint": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --type-aware", "lint:fix": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --fix --type-aware", "test": "vitest run", "test:unit": "vitest run" }, "nx": { "targets": { "build:transpile": { "dependsOn": [ "build:version", "^build:transpile" ] }, "build:types": { "dependsOn": [ "build:version", "^build:types" ] } } }, "dependencies": { "@babel/core": "^7.18.5", "@sentry/cli": "^2.58.6", "@sentry/core": "10.76.2", "dotenv": "^17.4.2", "find-up": "^5.0.0", "glob": "^13.0.6", "magic-string": "~0.30.8" }, "peerDependencies": { "rollup": ">=3.2.0", "webpack": ">=5.0.0" }, "peerDependenciesMeta": { "rollup": { "optional": true }, "webpack": { "optional": true } }, "devDependencies": { "@babel/preset-react": "^7.23.3", "@types/babel__core": "^7.20.5", "@types/node": "^18.6.3", "@types/webpack": "npm:@types/webpack@^4", "premove": "^4.0.0", "rolldown": "^1.0.0", "vitest": "^3.2.6", "webpack": "5.104.1" }, "volta": { "extends": "../../package.json" }, "engines": { "node": ">= 18" }, "sideEffects": [ "./sentry-release-injection-file.js", "./sentry-esbuild-debugid-injection-file.js" ] }