UNPKG

tsup

Version:

Bundle your TypeScript library with no config, powered by esbuild

104 lines • 2.6 kB
{ "name": "tsup", "version": "9.0.0", "devEngines": { "packageManager": { "name": "pnpm", "version": "12.11.2", "onFail": "download" } }, "description": "Bundle your TypeScript library with no config, powered by esbuild", "license": "MIT", "homepage": "https://tsup.egoist.dev/", "repository": { "type": "git", "url": "git+https://github.com/egoist/tsup.git" }, "author": "EGOIST", "files": [ "/assets", "/dist", "/schema.json" ], "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "tsup": "dist/cli-default.js", "tsup-node": "dist/cli-node.js" }, "peerDependencies": { "@microsoft/api-extractor": "^7.36.0", "@swc/core": "^1", "postcss": "^8.4.12", "typescript": ">=4.5.0" }, "peerDependenciesMeta": { "@microsoft/api-extractor": { "optional": true }, "@swc/core": { "optional": true }, "postcss": { "optional": true }, "typescript": { "optional": true } }, "dependencies": { "bundle-require": "^5.1.0", "cac": "^7.1.0", "chokidar": "^5.0.0", "consola": "^3.4.2", "esbuild": "^0.28.2", "fix-dts-default-cjs-exports": "^1.0.1", "joycon": "^3.1.1", "obug": "^3.0.0", "picocolors": "^1.1.1", "postcss-load-config": "^6.0.1", "resolve-from": "^5.0.0", "rollup": "^4.64.6", "source-map-js": "^1.2.2", "sucrase": "^3.35.1", "tinyexec": "^1.3.1", "tinyglobby": "^0.2.17", "tree-kill": "^1.2.2" }, "devDependencies": { "@microsoft/api-extractor": "^7.59.4", "@rollup/plugin-json": "^6.1.0", "@swc/core": "^1.16.18", "@types/node": "^26.6.5", "@types/resolve": "^1.20.6", "bumpp": "^12.3.0", "flat": "^6.0.1", "postcss": "^8.5.30", "postcss-simple-vars": "^7.0.1", "prettier": "^3.9.10", "resolve": "^1.22.10", "rollup-plugin-dts": "^6.5.1", "sass": "^1.105.1", "strip-json-comments": "^5.0.3", "svelte": "^5.57.2", "svelte-preprocess": "^6.0.5", "terser": "^5.51.2", "ts-essentials": "^10.2.1", "tsx": "^4.23.15", "typescript": "^6.0.3", "vitest": "^5.0.4" }, "engines": { "node": "^22.18.0 || ^24.11.0 || >=26.0.0" }, "scripts": { "dev": "pnpm run build-fast --watch", "build": "tsx src/cli-default.ts src/cli-*.ts src/index.ts src/rollup.ts --clean --splitting", "test": "pnpm run build && pnpm run test-only", "format": "prettier --write .", "test-only": "vitest run", "build-fast": "pnpm run build --no-dts", "release": "bumpp" } }