refactor(infra): directory structure (#4615)
This commit is contained in:
41
packages/frontend/i18n/package.json
Normal file
41
packages/frontend/i18n/package.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"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": "ts-node-esm -P ./tsconfig.node.json src/scripts/sync.ts",
|
||||
"sync-languages:check": "yarn run sync-languages --check",
|
||||
"download-resources": "ts-node-esm -P ./tsconfig.node.json src/scripts/download.ts"
|
||||
},
|
||||
"keywords": [],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/toeverything/AFFiNE.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"i18next": "^23.5.1",
|
||||
"react-i18next": "^13.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.18.5",
|
||||
"@types/prettier": "^3.0.0",
|
||||
"prettier": "^3.0.3",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
"version": "0.10.0-canary.1"
|
||||
}
|
||||
Reference in New Issue
Block a user