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-10-21 03:28:04 +03:00
|
|
|
"sync-languages": "ts-node -P ./tsconfig.node.json src/scripts/sync.ts",
|
2023-03-20 10:05:02 +03:00
|
|
|
"sync-languages:check": "yarn run sync-languages --check",
|
2023-10-21 03:28:04 +03:00
|
|
|
"download-resources": "ts-node -P ./tsconfig.node.json 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-10-16 15:47:06 +03:00
|
|
|
"react-i18next": "^13.3.0"
|
2023-01-09 09:55:38 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-10-16 15:47:06 +03:00
|
|
|
"@types/node": "^18.18.5",
|
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
|
|
|
},
|
2023-11-01 17:03:47 +03:00
|
|
|
"version": "0.10.0-canary.9"
|
2023-01-09 09:55:38 +03:00
|
|
|
}
|