UNPKG

react-i18nify

Version:

Simple i18n translation and localization components and helpers for React.

77 lines (76 loc) 2.26 kB
{ "name": "react-i18nify", "version": "6.3.0", "description": "Simple i18n translation and localization components and helpers for React.", "main": "./cjs/index.js", "module": "./es/index.js", "types": "./types/index.d.ts", "scripts": { "test": "jest --verbose", "test:watch": "npm test -- --watch", "lint": "eslint .", "lint:fix": "eslint . --fix", "typecheck": "tsc --project tsconfig.types.json --noEmit", "build": "rimraf cjs es && npx update-browserslist-db@latest && NODE_ENV=cjs babel src -d cjs && NODE_ENV=es babel src -d es", "prepare": "npm run build", "prettier": "prettier --write --loglevel error \"**/*.+(js|jsx|json|yml|yaml|css|ts|tsx|md|mdx|html)\"", "prettier:check": "prettier --check \"**/*.+(js|jsx|json|yml|yaml|css|ts|tsx|md|mdx|html)\"" }, "files": [ "cjs", "es", "src", "example", "types/index.d.ts" ], "repository": { "type": "git", "url": "git+https://github.com/sealninja/react-i18nify.git" }, "author": "Sealninja", "license": "MIT", "bugs": { "url": "https://github.com/sealninja/react-i18nify/issues" }, "homepage": "https://sealninja.com", "keywords": [ "react", "i18n", "translation", "localization", "components", "helpers", "javascript", "flux", "redux" ], "runkitExampleFilename": "example/example.js", "browserslist": "> 0.5%, last 2 versions, not op_mini all, not dead", "peerDependencies": { "dayjs": "^1.11.6", "react": "^16.8.0 || ^17.x || ^18.x || ^19.x" }, "devDependencies": { "@babel/cli": "7.28.3", "@babel/core": "7.28.5", "@babel/eslint-parser": "^7.28.0", "@babel/preset-env": "7.28.5", "@babel/preset-react": "7.28.5", "@babel/register": "7.28.3", "@dr.pogodin/eslint-configs": "0.1.2", "@types/react": "19.2.7", "dayjs": "1.11.19", "eslint": "9.39.2", "eslint-config-prettier": "10.1.8", "eslint-import-resolver-typescript": "4.4.4", "eslint-plugin-import": "2.32.0", "eslint-plugin-prettier": "5.5.4", "jest": "30.2.0", "prettier": "3.7.4", "react": "19.2.3", "react-dom": "19.2.3", "rimraf": "6.1.2", "typescript": "5.9.3" }, "packageManager": "yarn@4.12.0" }