UNPKG

next-intlayer

Version:

Simplify internationalization i18n in Next.js with context providers, hooks, locale detection, and multilingual content integration.

156 lines (155 loc) 4.37 kB
{ "name": "next-intlayer", "version": "7.3.11", "private": false, "description": "Simplify internationalization i18n in Next.js with context providers, hooks, locale detection, and multilingual content integration.", "keywords": [ "intlayer", "multilingual", "i18n", "internationalization", "nextjs", "typescript", "react", "json" ], "homepage": "https://intlayer.org", "bugs": { "url": "https://github.com/aymericzip/intlayer/issues" }, "repository": { "type": "git", "url": "git+https://github.com/aymericzip/intlayer.git" }, "license": "Apache-2.0", "author": { "name": "Aymeric PINEAU", "url": "https://github.com/aymericzip" }, "contributors": [ { "name": "Aymeric Pineau", "email": "ay.pineau@gmail.com", "url": "https://github.com/aymericzip" } ], "sideEffects": false, "exports": { ".": { "types": "./dist/types/index.d.ts", "require": "./dist/cjs/index.cjs", "import": "./dist/esm/index.mjs" }, "./format": { "types": "./dist/types/client/format/index.d.ts", "require": "./dist/cjs/client/format/index.cjs", "import": "./dist/esm/client/format/index.mjs" }, "./proxy": { "types": "./dist/types/proxy/index.d.ts", "require": "./dist/cjs/proxy/index.cjs", "import": "./dist/esm/proxy/index.mjs" }, "./middleware": { "types": "./dist/types/proxy/middleware.d.ts", "require": "./dist/cjs/proxy/middleware.cjs", "import": "./dist/esm/proxy/middleware.mjs" }, "./server": { "types": "./dist/types/server/index.d.ts", "require": "./dist/cjs/server/index.cjs", "import": "./dist/esm/server/index.mjs" }, "./server/format": { "types": "./dist/types/server/format/index.d.ts", "require": "./dist/cjs/server/format/index.cjs", "import": "./dist/esm/server/format/index.mjs" }, "./package.json": "./package.json" }, "main": "dist/cjs/index.cjs", "module": "dist/esm/index.mjs", "types": "dist/types/index.d.ts", "typesVersions": { "*": { ".": [ "./dist/types/index.d.ts" ], "format": [ "./dist/types/client/format/index.d.ts" ], "proxy": [ "./dist/types/proxy/index.d.ts" ], "middleware": [ "./dist/types/proxy/index.d.ts" ], "server": [ "./dist/types/server/index.d.ts" ], "server/format": [ "./dist/types/server/format/index.d.ts" ], "package.json": [ "./package.json" ] } }, "files": [ "./dist", "./package.json" ], "scripts": { "_prepublish": "cp -f ../../README.md ./README.md", "build": "tsdown --config tsdown.config.ts", "build:ci": "tsdown --config tsdown.config.ts", "clean": "rimraf ./dist .turbo", "dev": "tsdown --config tsdown.config.ts --watch", "format": "biome format . --check", "format:fix": "biome format --write .", "lint": "biome lint .", "lint:fix": "biome lint --write .", "prepublish": "echo prepublish temporally disabled to avoid rewrite readme", "publish": "bun publish || true", "publish:canary": "bun publish --access public --tag canary || true", "publish:latest": "bun publish --access public --tag latest || true", "test": "vitest run", "test:watch": "vitest", "typecheck": "tsc --noEmit --project tsconfig.types.json" }, "dependencies": { "@intlayer/chokidar": "7.3.11", "@intlayer/config": "7.3.11", "@intlayer/core": "7.3.11", "@intlayer/dictionaries-entry": "7.3.11", "@intlayer/types": "7.3.11", "@intlayer/webpack": "7.3.11", "defu": "6.1.4", "fast-glob": "3.3.3", "node-loader": "2.1.0", "react-intlayer": "7.3.11" }, "devDependencies": { "@types/node": "24.10.1", "@types/react": ">=16.0.0", "@types/react-dom": ">=16.0.0", "@utils/ts-config": "1.0.4", "@utils/ts-config-types": "1.0.4", "@utils/tsdown-config": "1.0.4", "rimraf": "6.1.2", "tsdown": "0.16.8", "typescript": "5.9.3", "vitest": "4.0.14" }, "peerDependencies": { "next": ">=14.0.0", "react": ">=16.0.0", "react-dom": ">=16.0.0" }, "engines": { "node": ">=14.18" }, "bug": { "url": "https://github.com/aymericzip/intlayer/issues" } }