UNPKG

bunchee

Version:

zero config bundler for js/ts/jsx libraries

116 lines 3.17 kB
{ "name": "bunchee", "version": "6.6.0", "description": "zero config bundler for js/ts/jsx libraries", "bin": "./dist/bin/cli.js", "main": "./dist/index.js", "types": "./dist/index.d.ts", "type": "commonjs", "keywords": [ "bundler", "javascript", "bundle", "typescript", "jsx", "zero-config", "library", "css", "web", "server components" ], "files": [ "dist", "*.md" ], "prettier": { "semi": false, "singleQuote": true, "trailingComma": "all" }, "engines": { "node": ">= 18.0.0" }, "author": "huozhi (github.com/huozhi)", "repository": { "type": "git", "url": "https://github.com/huozhi/bunchee.git" }, "license": "MIT", "dependencies": { "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-wasm": "^6.2.2", "@rollup/pluginutils": "^5.1.4", "@swc/core": "^1.13.3", "@swc/helpers": "^0.5.17", "clean-css": "^5.3.3", "fast-glob": "^3.3.3", "magic-string": "^0.30.17", "ora": "^8.0.1", "picomatch": "^4.0.2", "pretty-bytes": "^5.6.0", "rollup": "^4.46.2", "rollup-plugin-dts": "^6.2.1", "rollup-plugin-swc3": "^0.11.1", "rollup-preserve-directives": "^1.1.3", "tslib": "^2.8.1", "yargs": "^17.7.2" }, "peerDependencies": { "typescript": "^4.1 || ^5.0" }, "peerDependenciesMeta": { "typescript": { "optional": true }, "@swc/helpers": { "optional": true } }, "devDependencies": { "@huozhi/testing-package": "1.0.0", "@swc-node/register": "^1.10.9", "@swc/types": "^0.1.17", "@tailwindcss/postcss": "^4.1.8", "@types/clean-css": "^4.2.11", "@types/node": "^22.9.3", "@types/picomatch": "^3.0.1", "@types/react": "^19.0.9", "@types/yargs": "^17.0.33", "bunchee": "link:./", "cross-env": "^7.0.3", "husky": "^9.0.11", "lint-staged": "^15.2.2", "next": "^15.3.3", "picocolors": "^1.0.0", "postcss": "^8.5.4", "prettier": "3.4.2", "react": "^19.0.0", "react-dom": "^19.0.0", "tailwindcss": "^4.1.8", "typescript": "^5.9.2", "vitest": "^3.0.4" }, "lint-staged": { "*.{js,jsx,ts,tsx,md,json,yml,yaml}": "prettier --write" }, "scripts": { "test": "vitest run", "test:update": "TEST_UPDATE_SNAPSHOT=1 pnpm test", "test:post": "cross-env POST_BUILD=1 pnpm test test/compile.test.ts test/integration.test.ts", "docs:dev": "next dev docs", "docs:build": "next build docs", "clean": "rm -rf ./dist", "new-test": "node ./scripts/new-test.js", "typecheck": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit", "prepare-release": "pnpm clean && pnpm build", "publish-local": "pnpm prepare-release && pnpm test && pnpm publish", "run-ts": "cross-env SWC_NODE_IGNORE_DYNAMIC=1 node -r @swc-node/register", "ts-bunchee": "pnpm run-ts ./src/bin/index.ts", "build-dir": "pnpm ts-bunchee --cwd", "build": "pnpm run-ts ./src/bin/index.ts --runtime node", "format": "prettier --write ." } }