Files
janlaywss 6187147b74 reconstruct and build @anthropic-ai/claude-code source from source map
- 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
2026-03-31 19:19:50 +08:00

72 lines
1.3 KiB
JSON

{
"name": "get-east-asian-width",
"version": "1.5.0",
"description": "Determine the East Asian Width of a Unicode character",
"license": "MIT",
"repository": "sindresorhus/get-east-asian-width",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"sideEffects": false,
"engines": {
"node": ">=18"
},
"scripts": {
"test": "xo && ava && tsc index.d.ts",
"build": "node scripts/build.js",
"prepublish": "npm run build"
},
"files": [
"index.js",
"index.d.ts",
"lookup.js",
"lookup-data.js",
"utilities.js"
],
"keywords": [
"unicode",
"east-asian-width",
"eastasianwidth",
"character",
"string",
"width",
"text",
"layout",
"alignment",
"fullwidth",
"halfwidth",
"ambiguous",
"narrow",
"wide",
"neutral",
"typography",
"japanese",
"chinese",
"korean",
"codepoint",
"text-processing",
"i18n",
"l10n"
],
"devDependencies": {
"ava": "^5.3.1",
"outdent": "^0.8.0",
"simplify-ranges": "^0.1.0",
"typescript": "^5.2.2",
"xo": "^0.56.0"
},
"xo": {
"ignores": [
"lookup-data.js"
]
}
}