UNPKG

rollup-plugin-visualizer

Version:

Visualize and analyze bundle sizes and module dependencies in Rollup, Rolldown, and Vite.

127 lines (126 loc) • 3.6 kB
{ "name": "rollup-plugin-visualizer", "version": "7.3.0", "description": "Visualize and analyze bundle sizes and module dependencies in Rollup, Rolldown, and Vite.", "author": "Denis Bardadym <bardadymchik@gmail.com>", "license": "MIT", "bin": "./dist/bin/cli.js", "main": "./dist/plugin/index.js", "type": "module", "files": [ "dist/bin", "dist/plugin", "dist/shared", "dist/lib" ], "exports": { ".": { "types": "./dist/plugin/index.d.ts", "import": "./dist/plugin/index.js" } }, "repository": { "type": "git", "url": "git@github.com:btd/rollup-plugin-visualizer.git" }, "homepage": "https://github.com/btd/rollup-plugin-visualizer", "bugs": { "url": "https://github.com/btd/rollup-plugin-visualizer/issues" }, "scripts": { "lint": "oxlint -c .oxlintrc.json plugin src shared/share", "format": "prettier plugin src --write --list-different", "build": "run-p build:plugin build:frontend && npm run build:viewer", "build:plugin": "tsc", "build:frontend": "rollup -c rollup.config.js", "build-dev": "rollup -c rollup.config-dev.js", "clean": "del-cli dist", "prebuild": "npm run clean", "test": "run-s test:types test:unit test:consumers", "test:types": "tsc -p test/types/tsconfig.json", "test:unit": "vitest --run", "test:consumers": "node test/run-consumer-fixtures.mjs", "build:viewer": "rollup -c rollup.config-viewer.js && node scripts/package-viewer.mjs", "test:browser": "run-s test:viewer test:treemap-v2", "test:viewer": "node scripts/test-viewer.mjs", "test:treemap-v2": "node scripts/test-treemap-v2.mjs" }, "dependencies": { "@jridgewell/trace-mapping": "^0.3.31", "open": "^11.0.0", "picomatch": "^4.0.5", "yargs": "^18.1.0" }, "peerDependencies": { "rolldown": "1.x || ^1.0.0-beta || ^1.0.0-rc", "rollup": "2.x || 3.x || 4.x" }, "peerDependenciesMeta": { "rollup": { "optional": true }, "rolldown": { "optional": true } }, "devDependencies": { "@rollup/plugin-commonjs": "^29.0.3", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-terser": "^1.0.0", "@rollup/plugin-typescript": "^12.3.0", "@types/bytes": "^3.1.5", "@types/d3-array": "^3.2.2", "@types/d3-color": "^3.1.3", "@types/d3-force": "^3.0.10", "@types/d3-hierarchy": "^3.1.7", "@types/d3-scale": "^4.0.9", "@types/d3-shape": "^3.1.8", "@types/node": "^22.20.1", "@types/picomatch": "^4.0.3", "@types/three": "^0.187.0", "@types/yargs": "^17.0.35", "bytes": "^3.1.2", "d3-array": "^3.2.4", "d3-color": "^3.1.0", "d3-force": "^3.0.0", "d3-hierarchy": "^3.1.2", "d3-scale": "^4.0.2", "d3-shape": "^3.2.0", "del-cli": "^8.0.1", "lucide-preact": "^1.77.0", "npm-run-all": "^4.1.5", "oxlint": "^1.78.0", "playwright": "^1.65.1", "postcss": "^8.5.26", "postcss-url": "^10.1.4", "preact": "^11.1.1", "prettier": "^3.9.6", "rolldown": "^1.2.4", "rollup": "^4.62.4", "rollup-plugin-postcss": "^4.0.2", "sass": "^1.102.0", "source-map": "^0.8.0", "three": "^0.187.0", "tslib": "^2.8.1", "typescript": "~6.0.0", "vite": "^8.2.1", "vitest": "^5.1.0" }, "engines": { "node": ">=22" }, "keywords": [ "rollup-plugin", "rolldown-plugin", "vite-plugin", "bundle-analyzer", "bundle-analysis", "bundle-size", "dependency-graph", "visualizer", "network", "treemap", "sunburst", "diagram" ] }