@nova-fe/i18next-cache-backend
Version:
强大的 i18next 后端插件,具有 IndexedDB 缓存、批量加载和智能缓存策略
73 lines (72 loc) • 1.61 kB
JSON
{
"name": "@nova-fe/i18next-cache-backend",
"version": "1.0.0",
"description": "强大的 i18next 后端插件,具有 IndexedDB 缓存、批量加载和智能缓存策略",
"type": "module",
"author": "Leslie <924361501@qq.com>",
"license": "MIT",
"homepage": "https://github.com/luozyiii/i18next-cache-backend#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/luozyiii/i18next-cache-backend.git",
"directory": "packages/core"
},
"bugs": {
"url": "https://github.com/luozyiii/i18next-cache-backend/issues"
},
"keywords": [
"i18next",
"backend",
"cache",
"indexeddb",
"internationalization",
"i18n",
"translation",
"localization",
"offline",
"performance",
"缓存",
"国际化",
"翻译",
"本地化",
"离线"
],
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
"test": "vitest run",
"clean": "rm -rf dist"
},
"dependencies": {
"i18next": "^23.2.11",
"idb": "^7.1.1",
"ky": "^0.33.3"
},
"devDependencies": {
"jsdom": "^26.1.0",
"vite": "^6.0.5",
"vite-plugin-dts": "^4.3.0",
"vitest": "^2.1.8"
},
"peerDependencies": {
"i18next": ">=20.0.0"
}
}