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-01-11 10:27:45 +03:00
|
|
|
"sync-languages": "NODE_OPTIONS=--experimental-fetch ts-node-esm src/scripts/sync.ts",
|
2023-03-20 10:05:02 +03:00
|
|
|
"sync-languages:check": "yarn run sync-languages --check",
|
2023-01-11 10:27:45 +03:00
|
|
|
"download-resources": "NODE_OPTIONS=--experimental-fetch ts-node-esm 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-07-22 16:10:20 +03:00
|
|
|
"i18next": "^23.2.11",
|
2023-07-14 08:33:43 +03:00
|
|
|
"react-i18next": "^13.0.2"
|
2023-01-09 09:55:38 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-27 07:02:18 +03:00
|
|
|
"@types/node": "^18.17.1",
|
2023-06-04 20:00:41 +03:00
|
|
|
"@types/prettier": "^2.7.3",
|
2023-07-06 06:49:17 +03:00
|
|
|
"prettier": "^3.0.0",
|
2023-01-11 10:27:45 +03:00
|
|
|
"ts-node": "^10.9.1",
|
2023-07-01 11:26:43 +03:00
|
|
|
"typescript": "^5.1.6"
|
2023-04-21 01:28:51 +03:00
|
|
|
},
|
2023-08-07 03:55:03 +03:00
|
|
|
"version": "0.8.0-canary.12"
|
2023-01-09 09:55:38 +03:00
|
|
|
}
|