2023-01-09 09:55:38 +03:00
|
|
|
{
|
|
|
|
"name": "@affine/i18n",
|
|
|
|
"description": "",
|
|
|
|
"type": "module",
|
2023-02-14 06:18:43 +03:00
|
|
|
"main": "src/index.ts",
|
2023-01-09 09:55:38 +03:00
|
|
|
"exports": {
|
2023-05-04 08:35:09 +03:00
|
|
|
".": "./src/index.ts",
|
2023-05-09 01:37:07 +03:00
|
|
|
"./hooks": "./src/i18n-generated"
|
2023-02-14 06:18:43 +03:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
|
|
|
"main": "dist/src/index.js",
|
|
|
|
"types": "dist/src/index.d.ts",
|
|
|
|
"exports": {
|
|
|
|
".": "./dist/src/index.js"
|
|
|
|
}
|
2023-01-09 09:55:38 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2023-06-27 16:05:24 +03:00
|
|
|
"build": "node build.mjs",
|
2023-06-30 11:10:35 +03:00
|
|
|
"dev": "node dev.mjs",
|
2023-12-07 12:13:00 +03:00
|
|
|
"sync-languages": "node --loader ts-node/esm/transpile-only src/scripts/sync.ts",
|
2023-03-20 10:05:02 +03:00
|
|
|
"sync-languages:check": "yarn run sync-languages --check",
|
2023-12-07 12:13:00 +03:00
|
|
|
"download-resources": "node --loader ts-node/esm/transpile-only src/scripts/download.ts"
|
2023-01-09 09:55:38 +03:00
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/toeverything/AFFiNE.git"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-09-29 06:02:26 +03:00
|
|
|
"i18next": "^23.5.1",
|
2023-12-26 11:32:07 +03:00
|
|
|
"react-i18next": "^14.0.0"
|
2023-01-09 09:55:38 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-08-11 22:36:10 +03:00
|
|
|
"@types/prettier": "^3.0.0",
|
2023-08-30 02:21:18 +03:00
|
|
|
"prettier": "^3.0.3",
|
2023-01-11 10:27:45 +03:00
|
|
|
"ts-node": "^10.9.1",
|
2023-08-25 19:52:33 +03:00
|
|
|
"typescript": "^5.2.2"
|
2023-04-21 01:28:51 +03:00
|
|
|
},
|
2024-01-25 08:17:35 +03:00
|
|
|
"version": "0.12.0"
|
2023-01-09 09:55:38 +03:00
|
|
|
}
|