i18next
Version:
i18next internationalization framework
126 lines (125 loc) • 3.71 kB
JSON
{
"name": "i18next",
"version": "27.2.10",
"description": "i18next internationalization framework",
"main": "./dist/cjs/i18next.js",
"module": "./dist/esm/i18next.js",
"types": "./index.d.ts",
"files": [
"dist",
"index.d.ts",
"index.d.mts",
"typescript",
"i18next.js",
"i18next.min.js"
],
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./index.d.mts",
"default": "./dist/esm/i18next.js"
},
"require": {
"types": "./index.d.ts",
"default": "./dist/cjs/i18next.js"
}
}
},
"keywords": [
"i18next",
"internationalization",
"i18n",
"translation",
"localization",
"l10n",
"globalization",
"gettext"
],
"homepage": "https://www.i18next.com",
"bugs": "https://github.com/i18next/i18next/issues",
"repository": {
"type": "git",
"url": "https://github.com/i18next/i18next.git"
},
"funding": [
{
"type": "individual",
"url": "https://www.locize.com/i18next"
},
{
"type": "individual",
"url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
},
{
"type": "individual",
"url": "https://www.locize.com"
}
],
"engines": {
"node": ">=22"
},
"peerDependencies": {
"typescript": "^5 || ^6 || ^7"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"devDependencies": {
"@arktype/attest": "^0.58.0",
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.29.0",
"@rollup/plugin-babel": "^7.1.0",
"@rollup/plugin-terser": "^1.0.2",
"@types/node": "^26.6.6",
"@typescript-eslint/eslint-plugin": "^8.72.1",
"@typescript-eslint/parser": "^8.72.1",
"@vitest/coverage-v8": "5.1.0",
"cpy-cli": "^7.0.0",
"eslint": "^10.14.0",
"gh-release": "^8.1.0",
"husky": "^9.1.7",
"i18next-browser-languagedetector": "^8.3.0",
"i18next-fs-backend": "^2.6.10",
"i18next-http-backend": "^4.0.10",
"i18next-localstorage-cache": "^1.1.1",
"i18next-sprintf-postprocessor": "^0.2.2",
"lint-staged": "^17.6.0",
"neostandard": "^0.14.1",
"nise": "6.1.5",
"prettier": "^3.9.10",
"rimraf": "^6.1.4",
"rollup": "^4.67.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.1",
"vitest": "5.1.0"
},
"scripts": {
"lint": "eslint src typescript test \"./*.{ts,mts,mjs}\"",
"format": "prettier \"{,**/}*.{ts,tsx,mts,js,mjs,json,md}\" --check",
"format:fix": "prettier \"{,**/}*.{ts,tsx,mts,js,mjs,json,md}\" --write",
"test": "vitest --run",
"test:coverage": "vitest --coverage --run",
"test:runtime": "vitest --project runtime",
"test:compatibility": "vitest --project compatibility",
"test:typescript": "vitest --config vitest.workspace.typescript.mts",
"test:local": "vitest --config vitest.workspace.local.mts",
"build": "rimraf dist && rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json && cpy \"./dist/umd/*.js\" ./",
"fix_dist_package": "node -e 'console.log(`{\"type\":\"module\",\"version\":\"${process.env.npm_package_version}\"}`)' > dist/esm/package.json",
"preversion": "npm run test && npm run build && git push",
"postversion": "npm run fix_dist_package && git push && git push --tags && npm run release",
"prepare": "husky",
"release": "gh-release"
},
"author": "Jan Mühlemann <jan.muehlemann@gmail.com> (https://github.com/jamuhl)",
"license": "MIT",
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"overrides": {
"minimatch": "^11.0.4"
}
}