mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-15 16:21:46 +03:00
43 lines
1.1 KiB
JSON
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"
|
|
}
|