AFFiNE/packages/i18n/package.json
2023-06-08 18:33:14 +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.5.0",
"react-i18next": "^12.3.1"
},
"devDependencies": {
"@types/node": "^18.16.16",
"@types/prettier": "^2.7.3",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"version": "0.7.0-canary.10"
}