Web: - New lib/billing-client.ts: factory wrapper using shared getAccessToken. - Add @bytelyst/billing-client to web deps. Mobile: - New lib/billing-client.ts: factory wrapper using MMKV token storage. - New lib/platform-api.ts: typed platform-client wrapper for settings, sessions, and profile management. - Add @bytelyst/billing-client and @bytelyst/platform-client to deps.
60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"name": "@notelett/web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.6.5",
|
|
"scripts": {
|
|
"dev": "next dev --webpack",
|
|
"build": "next build --webpack",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit",
|
|
"test:e2e": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@bytelyst/api-client": "*",
|
|
"@bytelyst/billing-client": "*",
|
|
"@bytelyst/design-tokens": "*",
|
|
"@bytelyst/blob-client": "*",
|
|
"@bytelyst/diagnostics-client": "*",
|
|
"@bytelyst/feature-flag-client": "*",
|
|
"@bytelyst/kill-switch-client": "*",
|
|
"@bytelyst/platform-client": "*",
|
|
"@bytelyst/dashboard-components": "*",
|
|
"@bytelyst/broadcast-client": "*",
|
|
"@bytelyst/extraction": "*",
|
|
"@bytelyst/feedback-client": "*",
|
|
"@bytelyst/offline-queue": "*",
|
|
"@bytelyst/survey-client": "*",
|
|
"@tiptap/extension-placeholder": "^2.11.0",
|
|
"@tiptap/pm": "^2.11.0",
|
|
"@tiptap/react": "^2.11.0",
|
|
"@tiptap/starter-kit": "^2.11.0",
|
|
"@bytelyst/react-auth": "*",
|
|
"@bytelyst/telemetry-client": "*",
|
|
"@bytelyst/ui": "*",
|
|
"lucide-react": "^0.575.0",
|
|
"sonner": "^2.0.0",
|
|
"next": "16.1.6",
|
|
"react": "19.2.0",
|
|
"react-dom": "19.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/node": "^22",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.6",
|
|
"jsdom": "^28.1.0",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5.9.3",
|
|
"@playwright/test": "^1.58.2",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|