@scaleway/use-i18n
Version:
A small hook to handle i18n
63 lines • 1.51 kB
JSON
{
"name": "@scaleway/use-i18n",
"version": "8.2.1",
"description": "A small hook to handle i18n",
"keywords": [
"hooks",
"i18n",
"intl",
"react",
"react-intl",
"reactjs"
],
"homepage": "https://github.com/scaleway/scaleway-lib/tree/main/packages/use-i18n",
"bugs": {
"url": "https://github.com/scaleway/scaleway-lib/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/scaleway/scaleway-lib.git",
"directory": "packages/use-i18n"
},
"files": [
"dist/"
],
"type": "module",
"sideEffects": false,
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@formatjs/ecma402-abstract": "3.2.0",
"@formatjs/fast-memoize": "3.1.7",
"filesize": "11.0.22",
"international-types": "0.8.1",
"intl-messageformat": "11.2.13"
},
"devDependencies": {
"date-fns": "4.4.0",
"react": "19.2.8",
"react-dom": "19.2.8"
},
"peerDependencies": {
"date-fns": "3.x || 4.x",
"react": "18.x || 19.x",
"react-dom": "18.x || 19.x"
},
"engines": {
"node": "24.x || 25.x || 26.x"
},
"scripts": {
"typecheck": "tsc --noEmit",
"build": "tsdown",
"test:unit": "TZ=UTC LANG=en_US.UTF8 NODE_ENV=test vitest --run",
"test:unit:coverage": "pnpm test:unit --coverage",
"test:types": "pnpm test:unit --typecheck.only"
}
}