mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/StarCitizenBoxBrowserEx.git
synced 2025-06-06 11:33:49 +08:00
* feat: 为chrome拓展添加手动调用翻译的功能 (#3) * feat: 为chrome拓展添加手动调用翻译的功能 * feat: add SC-BOX-TRANSLATE-API-AVAILABLE message * refactor: move content script logic to core.js * feat: add context menu for translating pages * chore: 🤖 使用extension.js * chore: update package metadata * chore: ensure context menu creation on extension install * feat: add toggle translation functionality * feat: add support for dynamic localization based on tab URL * feat: add Chinese translation for Star Citizen browser extension * docs: update README with new API usage instructions * refactor: update translation logic to append original values * typescript support * feat: add manual URL handling for localization * feat: add postMessage for toggling SC-BOX translate * feat: add translation toggle event to postMessage * feat: add translation status and message handling * refactor: optimize localization version logging * feat: 支持保持任意网站启用翻译的装药 * fix: 兼容网页主动调用 * feat: image lazy load * fix: remove rsi_hangar_fix script --------- Co-authored-by: EduarteXD <54500106+EduarteXD@users.noreply.github.com>
26 lines
615 B
JSON
26 lines
615 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"moduleResolution": "node",
|
|
"module": "esnext",
|
|
"noEmit": true,
|
|
"resolveJsonModule": true,
|
|
"strict": true,
|
|
"target": "esnext",
|
|
"verbatimModuleSyntax": true,
|
|
"useDefineForClassFields": true,
|
|
"skipLibCheck": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
}
|
|
},
|
|
"include": ["./"],
|
|
"exclude": ["node_modules", "dist"],
|
|
}
|