feat: extract i18n into a package

This commit is contained in:
JimmFly
2023-01-09 14:55:38 +08:00
parent 20e2984c04
commit 047537101c
22 changed files with 172 additions and 170 deletions

View File

@@ -0,0 +1,27 @@
{
"name": "@affine/i18n",
"version": "0.1.0",
"description": "",
"main": "dist/src/index.js",
"type": "module",
"types": "dist/src/index.d.ts",
"exports": {
"./src/*": "./dist/src/*.js",
".": "./dist/src/index.js"
},
"scripts": {
"build": "tsc --project ./tsconfig.json"
},
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/toeverything/AFFiNE.git"
},
"dependencies": {
"i18next": "^21.9.1",
"react-i18next": "^11.18.4"
},
"devDependencies": {
"typescript": "^4.8.4"
}
}