UNPKG

rollup-plugin-dts

Version:

A rollup plugin that will bundle up your .d.ts definition files.

82 lines (81 loc) 2.18 kB
{ "name": "rollup-plugin-dts", "version": "6.4.1", "description": "A rollup plugin that will bundle up your .d.ts definition files.", "keywords": [ "rollup-plugin", "typescript", "dts", "@types" ], "author": "Arpad Borsos <arpad.borsos@googlemail.com>", "license": "LGPL-3.0-only", "repository": { "type": "git", "url": "git+https://github.com/Swatinem/rollup-plugin-dts.git" }, "bugs": { "url": "https://github.com/Swatinem/rollup-plugin-dts/issues" }, "funding": { "url": "https://github.com/sponsors/Swatinem" }, "homepage": "https://github.com/Swatinem/rollup-plugin-dts#readme", "engines": { "node": ">=20" }, "type": "module", "main": "./dist/rollup-plugin-dts.cjs", "types": "./dist/rollup-plugin-dts.d.cts", "exports": { "import": "./dist/rollup-plugin-dts.mjs", "require": "./dist/rollup-plugin-dts.cjs" }, "sideEffects": false, "files": [ "dist" ], "scripts": { "clean": "node -e \"(async () => { try { await require('fs/promises').rm('dist', { recursive: true }); } catch {} })()\"", "prebuild": "npm run clean", "build": "tsc && rollup --config .build/rollup.config.js", "prepublishOnly": "npm run test", "pretest": "npm run build", "test": "c8 node .build/tests/index.js" }, "prettier": { "printWidth": 120, "trailingComma": "all" }, "devDependencies": { "@babel/code-frame": "^7.29.0", "@jridgewell/trace-mapping": "^0.3.31", "@types/babel__code-frame": "^7.27.0", "@types/convert-source-map": "^2.0.3", "@types/d3-drag": "^3.0.7", "@types/estree": "1.0.8", "@types/node": "^25.5.0", "@types/react": "^19.2.14", "c8": "^11.0.0", "rollup": "4.59.1", "typescript": "5.9.3" }, "peerDependencies": { "rollup": "^3.29.4 || ^4", "typescript": "^4.5 || ^5.0 || ^6.0" }, "optionalDependencies": { "@babel/code-frame": "^7.29.0" }, "dependencies": { "@jridgewell/remapping": "^2.3.5", "@jridgewell/sourcemap-codec": "^1.5.5", "convert-source-map": "^2.0.0", "magic-string": "^0.30.21" }, "overrides": { "c8": { "yargs": "^18.0.0" } } }