mirror of
https://github.com/mengxi-ream/read-frog.git
synced 2026-09-01 15:36:33 +08:00
227 lines
6.9 KiB
JSON
227 lines
6.9 KiB
JSON
{
|
|
"name": "@read-frog/extension",
|
|
"version": "1.41.1",
|
|
"private": true,
|
|
"description": "Read Frog browser extension for language learning",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "wxt build",
|
|
"build:edge": "wxt build -b edge",
|
|
"build:firefox": "wxt build -b firefox --mv3",
|
|
"build:analyze": "wxt build --analyze",
|
|
"dev:local": "WXT_USE_LOCAL_PACKAGES=true wxt",
|
|
"dev": "wxt",
|
|
"dev:edge": "wxt -b edge",
|
|
"dev:firefox": "wxt -b firefox --mv3",
|
|
"fmt": "oxfmt --write .",
|
|
"fmt:check": "oxfmt --check .",
|
|
"lint": "oxlint --type-aware --type-check",
|
|
"lint:fix": "oxlint --type-aware --fix",
|
|
"postinstall": "WXT_SKIP_ENV_VALIDATION=true wxt prepare",
|
|
"test": "vitest run",
|
|
"test:cov": "vitest run --coverage",
|
|
"test:watch": "vitest",
|
|
"type-check": "oxlint --type-aware --type-check",
|
|
"scrape:ai-sdk-models": "npx tsx scripts/scrape-ai-sdk-provider-models.ts --out scripts/output/ai-sdk-provider-models.json",
|
|
"zip": "wxt zip",
|
|
"zip:edge": "wxt zip -b edge",
|
|
"zip:firefox": "wxt zip -b firefox --mv3",
|
|
"zip:all": "pnpm zip && pnpm zip:edge && pnpm zip:firefox",
|
|
"release": "changeset tag && git push origin --tags",
|
|
"prepare": "husky"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/alibaba": "^2.0.9",
|
|
"@ai-sdk/amazon-bedrock": "^5.0.17",
|
|
"@ai-sdk/anthropic": "^4.0.12",
|
|
"@ai-sdk/azure": "^4.0.11",
|
|
"@ai-sdk/cerebras": "^3.0.7",
|
|
"@ai-sdk/cohere": "^4.0.7",
|
|
"@ai-sdk/deepinfra": "^3.0.7",
|
|
"@ai-sdk/deepseek": "^3.0.7",
|
|
"@ai-sdk/fireworks": "^3.0.8",
|
|
"@ai-sdk/google": "^4.0.12",
|
|
"@ai-sdk/groq": "^4.0.7",
|
|
"@ai-sdk/huggingface": "^2.0.7",
|
|
"@ai-sdk/mistral": "^4.0.8",
|
|
"@ai-sdk/moonshotai": "^3.0.9",
|
|
"@ai-sdk/openai": "^4.0.11",
|
|
"@ai-sdk/openai-compatible": "^3.0.7",
|
|
"@ai-sdk/perplexity": "^4.0.8",
|
|
"@ai-sdk/react": "^4.0.23",
|
|
"@ai-sdk/replicate": "^3.0.8",
|
|
"@ai-sdk/togetherai": "^3.0.8",
|
|
"@ai-sdk/vercel": "^3.0.7",
|
|
"@ai-sdk/xai": "^4.0.10",
|
|
"@babel/runtime": "^8.0.0",
|
|
"@base-ui/react": "^1.6.0",
|
|
"@codemirror/lang-css": "^6.3.1",
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lint": "^6.9.7",
|
|
"@codemirror/state": "^6.7.1",
|
|
"@codemirror/view": "^6.43.6",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@fontsource-variable/onest": "^5.2.11",
|
|
"@headless-tree/core": "^1.7.0",
|
|
"@headless-tree/react": "^1.7.0",
|
|
"@json-render/core": "^0.19.0",
|
|
"@json-render/react": "^0.19.0",
|
|
"@orpc/client": "^1.14.7",
|
|
"@orpc/tanstack-query": "^1.14.7",
|
|
"@radix-ui/react-slot": "^1.3.0",
|
|
"@read-frog/api-contract": "0.10.1",
|
|
"@read-frog/definitions": "0.3.4",
|
|
"@remixicon/react": "^4.9.0",
|
|
"@t3-oss/env-core": "^0.13.11",
|
|
"@tabler/icons-react": "^3.44.0",
|
|
"@tanstack/hotkeys": "^0.8.0",
|
|
"@tanstack/react-form": "^1.33.1",
|
|
"@tanstack/react-hotkeys": "^0.10.0",
|
|
"@tanstack/react-query": "^5.101.2",
|
|
"@tanstack/react-store": "^0.11.0",
|
|
"@uiw/codemirror-extensions-color": "^4.25.11",
|
|
"@uiw/react-codemirror": "^4.25.11",
|
|
"@webext-core/match-patterns": "1.1.0",
|
|
"@webext-core/messaging": "^3.0.2",
|
|
"@wxt-dev/i18n": "^0.2.6",
|
|
"ai": "^7.0.22",
|
|
"ai-sdk-ollama": "^4.0.0",
|
|
"better-auth": "^1.6.23",
|
|
"case-anything": "^3.1.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"css-tree": "^3.2.1",
|
|
"debounce": "^3.0.0",
|
|
"deepmerge-ts": "^7.1.5",
|
|
"defuddle": "^0.19.1",
|
|
"dequal": "^2.0.3",
|
|
"dexie": "^4.4.4",
|
|
"entities": "^8.0.0",
|
|
"file-saver": "^2.0.5",
|
|
"franc": "^6.2.0",
|
|
"i18next": "^26.3.6",
|
|
"jotai": "^2.20.1",
|
|
"jotai-family": "^1.0.2",
|
|
"js-sha256": "^0.11.1",
|
|
"posthog-js": "^1.399.2",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"react-error-boundary": "^6.1.2",
|
|
"react-markdown": "^10.1.0",
|
|
"react-rnd": "^10.5.3",
|
|
"react-router": "^8.2.0",
|
|
"recharts": "^3.9.2",
|
|
"shadcn": "^4.13.0",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.6.0",
|
|
"ts-pattern": "^5.9.0",
|
|
"tw-animate-css": "^1.4.0",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/changelog-github": "^0.7.0",
|
|
"@changesets/cli": "^2.31.0",
|
|
"@commitlint/cli": "^21.2.1",
|
|
"@commitlint/config-conventional": "^21.2.0",
|
|
"@faker-js/faker": "^10.5.0",
|
|
"@iconify/react": "^6.0.2",
|
|
"@modyfi/vite-plugin-yaml": "^1.1.1",
|
|
"@tailwindcss/postcss": "^4.3.2",
|
|
"@tanstack/react-query-devtools": "^5.101.2",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
"@types/css-tree": "^2.3.11",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/jsdom": "^28.0.3",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.3",
|
|
"@vitest/coverage-istanbul": "^4.1.10",
|
|
"@wxt-dev/module-react": "^1.2.2",
|
|
"autoprefixer": "^10.5.2",
|
|
"eruda": "^3.4.3",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "^29.1.1",
|
|
"lint-staged": "^17.0.8",
|
|
"nx": "^23.0.2",
|
|
"oxfmt": "^0.58.0",
|
|
"oxlint": "^1.73.0",
|
|
"oxlint-plugin-query": "^0.1.1",
|
|
"oxlint-tsgolint": "^0.24.0",
|
|
"postcss": "^8.5.17",
|
|
"postcss-rem-to-responsive-pixel": "^7.0.4",
|
|
"postcss-value-parser": "^4.2.0",
|
|
"tailwindcss": "^4.3.2",
|
|
"type-fest": "^5.8.0",
|
|
"typescript": "^7.0.2",
|
|
"vite": "^8.1.4",
|
|
"vitest": "^4.1.10",
|
|
"wxt": "0.20.27"
|
|
},
|
|
"devEngines": {
|
|
"runtime": {
|
|
"name": "node",
|
|
"version": ">=22.22.0",
|
|
"onFail": "download"
|
|
}
|
|
},
|
|
"packageManager": "pnpm@11.11.0+sha512.4463f65fd80ed80d69bc1d4bf163ee94f605c7380fc318bb5b2ebe15f8cd12d49c51a4d59e951b401e764d3b6ca751cbf51bc50ed7001a6bcb4935e684c34882",
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "wxt build"
|
|
}
|
|
},
|
|
"build:firefox": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "wxt build -b firefox"
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "vitest run"
|
|
}
|
|
},
|
|
"test:cov": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "vitest run --coverage"
|
|
}
|
|
},
|
|
"fmt": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "oxfmt --write ."
|
|
}
|
|
},
|
|
"fmt:check": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "oxfmt --check ."
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "oxlint --type-aware --type-check"
|
|
}
|
|
},
|
|
"type-check": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "oxlint --type-aware --type-check"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|