{ "name": "waybetter", "version": "0.7.0", "license": "GPL-3.0-or-later", "type": "module", "description": "wayBetter: the framework for apps that run the apps you already use in a light native (Tauri) window and extend them in place. Page runtime (DOM/request hubs, plugins, plugin UI kit with themed dialogs and toasts, theme API and theme JSON Schema, theme color model, link routing, account reporting, deck columns, i18n: ICU-lite messages, locale fallback, plugin strings, catalog checks and JSON Schemas), shell models (address bar, panes, decks, profiles, palette, updates), the shell frame (createShell: tabs, splits, address bar, titlebar, palette, account switcher, decks, workspaces, overlays, the language state; React + dockview peers), the panel (createPanel: an app's own tab with Appearance and the Theme Builder, plugins and custom CSS, the Store, Make, accounts, settings, backup and sync, developer mode, updates; the app adds its sections) and the Store: install screen and Store view React components (optional React peer), their state and catalog models, the store catalog JSON Schema and the `waybetter store build|sign|verify` command, `waybetter release windows|macos` (signed native releases and the update manifest, configured by waybetter.release.json; path-free builds), `waybetter build-env` (a build without the machine's paths) and `waybetter/build` (the page runtime bundle, with an optional esbuild peer). No dependencies.", "keywords": [ "waybetter", "tauri", "i18n", "betterdiscord", "plugins", "theming", "dom", "desktop" ], "homepage": "https://waybetter.fyi", "repository": { "type": "git", "url": "git+https://git.crt.fyi/CRT/waybetter.git", "directory": "packages/waybetter" }, "bugs": { "url": "https://git.crt.fyi/CRT/waybetter/issues" }, "sideEffects": false, "bin": { "waybetter": "bin/waybetter.mjs" }, "exports": { "./i18n": { "types": "./dist/runtime/i18n.d.ts", "import": "./dist/runtime/i18n.js" }, "./i18n/check": { "types": "./dist/runtime/i18nCheck.d.ts", "import": "./dist/runtime/i18nCheck.js" }, "./i18n/plugin": { "types": "./dist/runtime/pluginI18n.d.ts", "import": "./dist/runtime/pluginI18n.js" }, "./i18n.schema.json": "./i18n.schema.json", "./i18n-meta.schema.json": "./i18n-meta.schema.json", "./i18n-config.schema.json": "./i18n-config.schema.json", "./languages.schema.json": "./languages.schema.json", "./locales/*.json": "./locales/*.json", "./runtime/accountReport": { "types": "./dist/runtime/accountReport.d.ts", "import": "./dist/runtime/accountReport.js" }, "./runtime/column": { "types": "./dist/runtime/column.d.ts", "import": "./dist/runtime/column.js" }, "./runtime/commands": { "types": "./dist/runtime/commands.d.ts", "import": "./dist/runtime/commands.js" }, "./runtime/devErrors": { "types": "./dist/runtime/devErrors.d.ts", "import": "./dist/runtime/devErrors.js" }, "./runtime/domHub": { "types": "./dist/runtime/domHub.d.ts", "import": "./dist/runtime/domHub.js" }, "./runtime/linkRouting": { "types": "./dist/runtime/linkRouting.d.ts", "import": "./dist/runtime/linkRouting.js" }, "./runtime/netHub": { "types": "./dist/runtime/netHub.d.ts", "import": "./dist/runtime/netHub.js" }, "./runtime/paneNav": { "types": "./dist/runtime/paneNav.d.ts", "import": "./dist/runtime/paneNav.js" }, "./runtime/pluginApi": { "types": "./dist/runtime/pluginApi.d.ts", "import": "./dist/runtime/pluginApi.js" }, "./runtime/site": { "types": "./dist/runtime/site.d.ts", "import": "./dist/runtime/site.js" }, "./runtime/themeApi": { "types": "./dist/runtime/themeApi.d.ts", "import": "./dist/runtime/themeApi.js" }, "./runtime/themeTokens": { "types": "./dist/runtime/themeTokens.d.ts", "import": "./dist/runtime/themeTokens.js" }, "./runtime/ui": { "types": "./dist/runtime/ui.d.ts", "import": "./dist/runtime/ui.js" }, "./runtime/*": { "types": "./dist/runtime/*.d.ts", "import": "./dist/runtime/*.js" }, "./shell/messages": { "types": "./dist/shell/messages.d.ts", "import": "./dist/shell/messages.js" }, "./shell/addressModel": { "types": "./dist/shell/addressModel.d.ts", "import": "./dist/shell/addressModel.js" }, "./shell/chrome": { "types": "./dist/shell/chrome.d.ts", "import": "./dist/shell/chrome.js" }, "./shell/deckModel": { "types": "./dist/shell/deckModel.d.ts", "import": "./dist/shell/deckModel.js" }, "./shell/linkDrop": { "types": "./dist/shell/linkDrop.d.ts", "import": "./dist/shell/linkDrop.js" }, "./shell/palette": { "types": "./dist/shell/palette.d.ts", "import": "./dist/shell/palette.js" }, "./shell/paneModel": { "types": "./dist/shell/paneModel.d.ts", "import": "./dist/shell/paneModel.js" }, "./shell/profileModel": { "types": "./dist/shell/profileModel.d.ts", "import": "./dist/shell/profileModel.js" }, "./shell/updateModel": { "types": "./dist/shell/updateModel.d.ts", "import": "./dist/shell/updateModel.js" }, "./shell/windowControls": { "types": "./dist/shell/windowControls.d.ts", "import": "./dist/shell/windowControls.js" }, "./shell/storeModel": { "types": "./dist/shell/storeModel.d.ts", "import": "./dist/shell/storeModel.js" }, "./shell/storeMessages": { "types": "./dist/shell/storeMessages.d.ts", "import": "./dist/shell/storeMessages.js" }, "./shell/installController": { "types": "./dist/shell/installController.d.ts", "import": "./dist/shell/installController.js" }, "./shell/InstallDialog": { "types": "./dist/shell/InstallDialog.d.ts", "import": "./dist/shell/InstallDialog.js" }, "./shell/StoreView": { "types": "./dist/shell/StoreView.d.ts", "import": "./dist/shell/StoreView.js" }, "./shell/store.css": "./dist/shell/store.css", "./shell/frame": { "types": "./dist/shell/frame/index.d.ts", "import": "./dist/shell/frame/index.js" }, "./shell/frame/*.css": "./dist/shell/frame/*.css", "./shell/frame/*": { "types": "./dist/shell/frame/*.d.ts", "import": "./dist/shell/frame/*.js" }, "./shell/panel": { "types": "./dist/shell/panel/index.d.ts", "import": "./dist/shell/panel/index.js" }, "./shell/panel/*.css": "./dist/shell/panel/*.css", "./shell/panel/*": { "types": "./dist/shell/panel/*.d.ts", "import": "./dist/shell/panel/*.js" }, "./shell/*": { "types": "./dist/shell/*.d.ts", "import": "./dist/shell/*.js" }, "./theme.schema.json": "./theme.schema.json", "./icons.schema.json": "./icons.schema.json", "./store-catalog.schema.json": "./store-catalog.schema.json", "./cli/store": "./cli/store.mjs", "./cli/release": "./cli/release.mjs", "./cli/i18n": "./cli/i18n.mjs", "./cli/buildenv": "./cli/buildenv.mjs", "./build": "./build/runtime.mjs", "./package.json": "./package.json" }, "files": [ "dist", "bin", "build", "cli", "theme.schema.json", "icons.schema.json", "store-catalog.schema.json", "i18n.schema.json", "i18n-meta.schema.json", "i18n-config.schema.json", "languages.schema.json", "locales", "windows", "README.md", "LICENSE" ], "engines": { "node": ">=18.0.0" }, "peerDependencies": { "esbuild": ">=0.20.0", "react": ">=18.0.0", "react-dom": ">=18.0.0", "dockview": ">=4.0.0", "acorn": ">=8.0.0" }, "peerDependenciesMeta": { "esbuild": { "optional": true }, "react": { "optional": true }, "react-dom": { "optional": true }, "dockview": { "optional": true }, "acorn": { "optional": true } }, "publishConfig": { "access": "public" }, "scripts": { "build": "node scripts/build.mjs", "test": "cd ../.. && node --test packages/runtime/tests/*.test.ts packages/shell/tests/*.test.ts packages/waybetter/tests/*.test.mjs", "prepublishOnly": "npm run build && npm test" }, "devDependencies": { "@types/node": "^24.0.0", "typescript": "^5.9.0" } }