UNPKG

react-i18nify

Version:

Simple i18n translation and localization components and helpers for React.

84 lines (83 loc) 2.46 kB
{ "name": "react-i18nify", "version": "6.2.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 src/**/*.js __test__/**/*.js", "lint:fix": "npm run lint -- --fix", "typecheck": "tsc --project tsconfig.types.json --noEmit", "build": "rimraf cjs es && npx browserslist --update-db && 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" }, "dependencies": { "prop-types": "15.8.1" }, "devDependencies": { "@babel/cli": "7.25.9", "@babel/core": "7.26.9", "@babel/eslint-parser": "7.26.8", "@babel/preset-env": "7.26.9", "@babel/preset-react": "7.25.9", "@babel/register": "7.25.9", "@eslint/compat": "1.2.7", "@eslint/eslintrc": "3.3.0", "@eslint/js": "9.21.0", "@types/react": "19.1.0", "dayjs": "1.11.13", "eslint": "9.21.0", "eslint-config-airbnb": "19.0.4", "eslint-config-prettier": "9.1.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-prettier": "5.2.3", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "5.2.0", "jest": "29.7.0", "prettier": "3.5.3", "react": "19.1.0", "react-dom": "19.1.0", "rimraf": "6.0.1", "typescript": "5.7.3" } }