AFFiNE/packages/i18n/package.json
2023-05-25 14:13:32 +08:00

42 lines
1.1 KiB
JSON

{
"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": "tsc --project ./tsconfig.json",
"sync-languages": "NODE_OPTIONS=--experimental-fetch ts-node-esm src/scripts/sync.ts",
"sync-languages:check": "yarn run sync-languages --check",
"download-resources": "NODE_OPTIONS=--experimental-fetch ts-node-esm src/scripts/download.ts"
},
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/toeverything/AFFiNE.git"
},
"dependencies": {
"@affine/debug": "workspace:*",
"i18next": "^22.4.15",
"react-i18next": "^12.3.0"
},
"devDependencies": {
"@types/node": "^18.16.13",
"@types/prettier": "^2.7.2",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"version": "0.6.0-canary.8"
}