UNPKG

rollup-plugin-webpack-stats

Version:

Rollup/Vite/Rolldown plugin to generate a stats JSON file with a bundle-stats webpack-compatible structure

114 lines (113 loc) 2.9 kB
{ "name": "rollup-plugin-webpack-stats", "description": "Rollup/Vite/Rolldown plugin to generate a stats JSON file with a bundle-stats webpack-compatible structure", "version": "3.1.3", "private": false, "license": "MIT", "keywords": [ "vite", "rolldown", "rollup", "vite-plugin", "rolldown-plugin", "rollup-plugin", "stats", "bundle-stats" ], "main": "./dist/index.cjs", "module": "./dist/index.mjs", "typings": "./dist/index.d.cts", "files": [ "dist" ], "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./transform": { "import": { "types": "./dist/transform.d.mts", "default": "./dist/transform.mjs" }, "require": { "types": "./dist/transform.d.cts", "default": "./dist/transform.cjs" } } }, "engines": { "node": ">=18" }, "author": { "name": "Viorel Cojocaru", "email": "vio@relative-ci.com", "url": "https://relative-ci.com" }, "repository": { "type": "git", "url": "git+https://github.com/relative-ci/rollup-plugin-webpack-stats.git" }, "bugs": { "url": "https://github.com/relative-ci/rollup-plugin-webpack-stats/issues" }, "homepage": "https://github.com/relative-ci/rollup-plugin-webpack-stats/blob/master/#readme", "scripts": { "clean": "rimraf ./dist", "build": "npm run clean && npm run type-check && tsdown", "type-check": "tsc", "lint": "eslint", "format": "prettier --write .", "test:unit": "vitest test/unit", "@tsconfig/node18": "18.2.6", "test:package": "npm run test:package:rollup && npm run test:package:vite", "test:package:rollup": "cd test/package/rollup && vitest", "test:package:vite": "cd test/package/vite && vitest", "bump": "./scripts/bump.sh", "release": "./scripts/release.sh", "prepare": "husky" }, "devDependencies": { "@release-it/conventional-changelog": "11.0.0", "@types/node": "25.9.1", "eslint": "9.39.2", "eslint-config-prettier": "10.1.8", "husky": "9.1.7", "lint-staged": "17.0.5", "memfs": "4.57.3", "prettier": "3.8.3", "release-it": "20.0.1", "rimraf": "6.1.3", "tsdown": "0.22.1", "tslib": "2.8.1", "typescript": "6.0.3", "typescript-eslint": "8.60.0", "vite": "7.3.2", "vitest": "4.1.7" }, "dependencies": { "rollup-plugin-stats": "2.1.3" }, "peerDependencies": { "rolldown": "^1.0.0-beta.0", "rollup": "^3.0.0 || ^4.0.0", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" }, "peerDependenciesMeta": { "rolldown": { "optional": true }, "rollup": { "optional": true }, "vite": { "optional": true } } }