| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- {
- "name": "i18next",
- "version": "25.7.1",
- "description": "i18next internationalization framework",
- "main": "./dist/cjs/i18next.js",
- "module": "./dist/esm/i18next.js",
- "types": "./index.d.ts",
- "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://locize.com"
- },
- {
- "type": "individual",
- "url": "https://locize.com/i18next.html"
- },
- {
- "type": "individual",
- "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
- }
- ],
- "dependencies": {
- "@babel/runtime": "^7.28.4"
- },
- "peerDependencies": {
- "typescript": "^5"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- },
- "devDependencies": {
- "@arktype/attest": "^0.55.0",
- "@babel/core": "^7.28.5",
- "@babel/plugin-transform-async-generator-functions": "^7.28.0",
- "@babel/plugin-transform-modules-commonjs": "^7.27.1",
- "@babel/plugin-transform-runtime": "^7.28.5",
- "@babel/polyfill": "^7.12.1",
- "@babel/preset-env": "^7.28.5",
- "@babel/preset-react": "^7.28.5",
- "@babel/register": "^7.28.3",
- "@rollup/plugin-babel": "^6.1.0",
- "@rollup/plugin-commonjs": "^29.0.0",
- "@rollup/plugin-node-resolve": "^16.0.3",
- "@rollup/plugin-terser": "^0.4.4",
- "@types/node": "^22.19.1",
- "@typescript-eslint/eslint-plugin": "^7.18.0",
- "@typescript-eslint/parser": "^7.18.0",
- "@vitest/coverage-v8": "^3.2.4",
- "babelify": "^10.0.0",
- "coveralls": "^3.1.1",
- "cpy-cli": "^5.0.0",
- "eslint": "^8.57.1",
- "eslint-config-airbnb-base": "^15.0.0",
- "eslint-config-prettier": "^10.1.8",
- "eslint-import-resolver-typescript": "^4.4.4",
- "eslint-plugin-import": "^2.32.0",
- "gh-release": "^7.0.2",
- "husky": "^9.1.7",
- "i18next-browser-languagedetector": "^8.2.0",
- "i18next-fs-backend": "^2.6.1",
- "i18next-http-backend": "^3.0.2",
- "i18next-localstorage-cache": "^1.1.1",
- "i18next-sprintf-postprocessor": "^0.2.2",
- "lint-staged": "^16.2.6",
- "prettier": "^3.6.2",
- "rimraf": "^6.1.0",
- "rollup": "^4.53.2",
- "sinon": "^19.0.5",
- "typescript": "^5.9.3",
- "vitest": "^3.2.4"
- },
- "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 --workspace vitest.workspace.typescript.mts",
- "test:local": "vitest --workspace 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",
- "fix_jsr_package": "node -e 'const fs=require(\"fs\");const p=\"jsr.json\";const j=JSON.parse(fs.readFileSync(p,\"utf8\"));j.version=process.env.npm_package_version||j.version;fs.writeFileSync(p,JSON.stringify(j,null,2)+\"\\n\")' && git commit -a -m 'jsr update' && git push",
- "publish_jsr": "deno publish --no-check",
- "preversion": "npm run test && npm run build && git push",
- "postversion": "npm run fix_dist_package && npm run fix_jsr_package && git push && git push --tags && npm run release && npm run publish_jsr",
- "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"
- }
- }
|