- Extract 4756 source files from cli.js.map (57MB) - Set up Bun build system with bun:bundle feature flag shim - Configure 90+ compile-time feature flags matching production defaults - Inject MACRO constants (VERSION, BUILD_TIME, etc.) - Create stubs for private packages (color-diff-napi, modifiers-napi, etc.) - Install all public dependencies via pnpm - Patch commander v14 to allow multi-char short flags (-d2e) - Build output: dist/cli.js (22MB), verified working
70 lines
1.1 KiB
JSON
70 lines
1.1 KiB
JSON
{
|
|
"name": "wrap-ansi",
|
|
"version": "10.0.0",
|
|
"description": "Wordwrap a string with ANSI escape codes",
|
|
"license": "MIT",
|
|
"repository": "chalk/wrap-ansi",
|
|
"funding": "https://github.com/chalk/wrap-ansi?sponsor=1",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "https://sindresorhus.com"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && nyc ava && tsd"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"keywords": [
|
|
"wrap",
|
|
"break",
|
|
"wordwrap",
|
|
"wordbreak",
|
|
"linewrap",
|
|
"ansi",
|
|
"styles",
|
|
"color",
|
|
"colour",
|
|
"colors",
|
|
"terminal",
|
|
"console",
|
|
"cli",
|
|
"string",
|
|
"tty",
|
|
"escape",
|
|
"formatting",
|
|
"rgb",
|
|
"256",
|
|
"shell",
|
|
"xterm",
|
|
"log",
|
|
"logging",
|
|
"command-line",
|
|
"text"
|
|
],
|
|
"dependencies": {
|
|
"ansi-styles": "^6.2.3",
|
|
"string-width": "^8.2.0",
|
|
"strip-ansi": "^7.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^6.4.1",
|
|
"chalk": "^5.6.2",
|
|
"coveralls": "^3.1.1",
|
|
"has-ansi": "^6.0.2",
|
|
"nyc": "^17.1.0",
|
|
"tsd": "^0.33.0",
|
|
"xo": "^1.2.3"
|
|
}
|
|
}
|