AFFiNE/packages/frontend/i18n/package.json
2024-03-29 06:56:52 +00:00

43 lines
1.1 KiB
JSON

{
"name": "@affine/i18n",
"description": "",
"type": "module",
"main": "src/index.ts",
"exports": {
".": "./src/index.ts",
"./hooks": "./src/i18n-generated"
},
"publishConfig": {
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
".": "./dist/src/index.js"
}
},
"scripts": {
"build": "node build.mjs",
"dev": "node dev.mjs",
"sync-languages": "node --loader ts-node/esm/transpile-only src/scripts/sync.ts",
"sync-languages:check": "yarn run sync-languages --check",
"download-resources": "node --loader ts-node/esm/transpile-only src/scripts/download.ts"
},
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/toeverything/AFFiNE.git"
},
"dependencies": {
"@magic-works/i18n-codegen": "^0.5.0",
"i18next": "^23.10.0",
"react-i18next": "^14.0.5",
"undici": "^6.6.2"
},
"devDependencies": {
"@types/prettier": "^3.0.0",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"version": "0.14.0"
}