{"name":"react-intl","version":"3.0.0-beta-10","description":"Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.","keywords":["intl","i18n","internationalization","locale","localization","globalization","react","reactjs","format","formatting","translate","translation"],"author":{"name":"Eric Ferraiuolo","email":"edf@ericf.me"},"contributors":[{"name":"Caridy Patino","email":"caridy@gmail.com"},{"name":"Marces Engel","email":"dev.dragonraider5@gmail.com"}],"license":"BSD-3-Clause","homepage":"https://github.com/yahoo/react-intl","bugs":{"url":"https://github.com/yahoo/react-intl/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/yahoo/react-intl.git"},"main":"./dist/index.js","module":"./lib/index.js","browserify-shim":{"react":"global:React"},"jest":{"testRegex":"/test/(unit|functional)/.*\\.js","testPathIgnorePatterns":["test/functional/support","/test/unit/testUtils"],"collectCoverageFrom":["src/**/*.js","!src/en.js"],"coverageReporters":["lcov","text","text-summary","html"],"coverageThreshold":{"global":{"branches":85,"functions":100,"lines":95,"statements":95}},"setupTestFrameworkScriptFile":"./test/setup.js"},"dependencies":{"@types/hoist-non-react-statics":"^3.3.1","@types/invariant":"^2.2.29","@types/react":"^16.8.20","hoist-non-react-statics":"^3.3.0","intl-format-cache":"^3.2.0","intl-locales-supported":"^1.2.0","intl-messageformat":"^4.0.0","invariant":"^2.1.1","react":"^16.3.0","shallow-equal":"^1.1.0"},"devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@babel/node":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.1.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/plugin-transform-async-to-generator":"^7.1.0","@babel/plugin-transform-modules-commonjs":"^7.1.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","@formatjs/intl-relativetimeformat":"^2.1.0","@types/enzyme":"^3.9.4","@types/jest":"^24.0.13","@types/prop-types":"^15.7.1","@typescript-eslint/eslint-plugin":"^1.10.2","@typescript-eslint/parser":"^1.10.2","babel-jest":"^24.8.0","babel-plugin-react-intl":"^3.2.1","babel-plugin-transform-member-expression-literals":"^6.9.4","babel-plugin-transform-property-literals":"^6.9.4","babel-plugin-transform-react-remove-prop-types":"^0.4.18","babelify":"^10.0.0","benchmark":"^2.1.0","browserify":"^16.2.3","browserify-shim":"^3.8.11","cross-env":"^5.2.0","enzyme":"^3.6.0","enzyme-adapter-react-16":"^1.5.0","eslint":"^6.0.0","eslint-plugin-react":"^7.0.1","express":"^4.13.3","full-icu":"^1.3.0","glob":"^7.0.0","intl":"^1.2.1","intl-messageformat-parser":"^1.7.0","intl-pluralrules":"^1.0.3","jest":"^24.8.0","mkdirp":"^0.5.1","pre-commit":"^1.2.2","prettier":"^1.6.1","progress":"^2.0.3","promise-queue":"^2.2.5","prop-types":"^15.7.2","react-dom":"^16.8.6","rimraf":"^2.4.2","rollup":"^1.16.3","rollup-plugin-commonjs":"^10.0.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-typescript":"^1.0.1","rollup-plugin-uglify":"^6.0.0","serialize-javascript":"^1.5.0","superagent":"^5.0.8","ts-jest":"^24.0.2","tslib":"^1.9.3","typescript":"^3.5.1","watchify":"^3.7.0"},"scripts":{"format":"prettier --check '**/*.{js,md,jsx,ts,tsx}'","format:fix":"prettier --write '**/*.{js,md,jsx,ts,tsx}'","clean":"rimraf src/en.js coverage/ dist/ lib/ test/renderer.js","build:lib":"tsc && tsc -p tsconfig.cjs.json","build:dist:dev":"cross-env NODE_ENV=development rollup -c rollup.config.dist.js","build:dist:prod":"cross-env NODE_ENV=production rollup -c rollup.config.dist.js","build:dist":"npm run build:dist:dev && npm run build:dist:prod","build":"npm run build:lib && npm run build:dist","lint":"eslint .","lint:fix":"eslint . --fix","test":"jest --coverage --verbose","test:all":"npm run lint && npm run format && npm run test","test:watch":"jest --watch","test:perf":"cross-env NODE_ENV=production babel-node test/perf","examples:install":"babel-node scripts/examples npm install","examples:link":"npm link && babel-node scripts/examples npm link react-intl","preversion":"npm run clean && npm run build && npm run test:all","prepare":"npm run clean && npm run build"},"pre-commit":["format:fix","lint:fix"],"readme":"# React Intl\n\nInternationalize [React][] apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.\n\n[![npm Version][npm-badge]][npm]\n[![Build Status][travis-badge]][travis]\n[![Dependency Status][david-badge]][david]\n\n## Overview\n\n**React Intl is part of [FormatJS][].** It provides bindings to React via its components and API.\n\n**Slack:** Join us on Slack at [formatjs.slack.com](https://formatjs.slack.com/) for help, general conversation and more 💬🎊🎉\nYou can sign-up using this [invitation link](https://join.slack.com/t/formatjs/shared_invite/enQtNjYwMzE4NjM1MDQzLTA5NDE1Y2Y1ZWNiZWI1YTU5MGUxY2M0YjA4NWNhMmU3YTRjZmQ3MTE3NzJmOTAxMWRmYWE1ZTdkMmYzNzA5Y2M).\n\n### [Documentation][]\n\nReact Intl's docs are in this GitHub [`/docs`][documentation] folder, [**Get Started**][getting started]. There are also several [runnable example apps][examples] which you can reference to learn how all the pieces fit together.\n\n_(If you're looking for React Intl v1, you can find it [here][v1-docs].)_\n\n### Features\n\n- Display numbers with separators.\n- Display dates and times correctly.\n- Display dates relative to \"now\".\n- Pluralize labels in strings.\n- Support for 150+ languages.\n- Runs in the browser and Node.js.\n- Built on standards.\n\n### Example\n\nThere are several [runnable examples][examples] in this Git repo, but here's a Hello World one:\n\n```js\nimport React, {Component} from 'react';\nimport ReactDOM from 'react-dom';\nimport {IntlProvider, FormattedMessage} from 'react-intl';\n\nclass App extends Component {\n  constructor(props) {\n    super(props);\n    this.state = {\n      name: 'Eric',\n      unreadCount: 1000,\n    };\n  }\n\n  render() {\n    const {name, unreadCount} = this.state;\n\n    return (\n      <p>\n        <FormattedMessage\n          id=\"welcome\"\n          defaultMessage={`Hello {name}, you have {unreadCount, number} {unreadCount, plural,\n                      one {message}\n                      other {messages}\n                    }`}\n          values={{name: <b>{name}</b>, unreadCount}}\n        />\n      </p>\n    );\n  }\n}\n\nReactDOM.render(\n  <IntlProvider locale=\"en\">\n    <App />\n  </IntlProvider>,\n  document.getElementById('container')\n);\n```\n\nThis example would render: \"Hello **Eric**, you have 1,000 messages.\" into the container element on the page.\n\n**Pluralization rules:** In some languages you have more than `one` and `other`. For example in `ru` there are the following plural rules: `one`, `few`, `many` and `other`.\nCheck out the official [Unicode CLDR documentation](http://www.unicode.org/cldr/charts/28/supplemental/language_plural_rules.html).\n\n## Contribute\n\nLet's make React Intl and FormatJS better! If you're interested in helping, all contributions are welcome and appreciated. React Intl is just one of many packages that make up the [FormatJS suite of packages][formatjs github], and you can contribute to any/all of them, including the [Format JS website][formatjs] itself.\n\nCheck out the [Contributing document][contributing] for the details. Thanks!\n\n## License\n\nThis software is free to use under the Yahoo Inc. BSD license.\nSee the [LICENSE file][] for license text and copyright information.\n\n[npm]: https://www.npmjs.org/package/react-intl\n[npm-badge]: https://img.shields.io/npm/v/react-intl.svg?style=flat-square\n[david]: https://david-dm.org/formatjs/react-intl\n[david-badge]: https://img.shields.io/david/formatjs/react-intl.svg?style=flat-square\n[travis]: https://travis-ci.org/formatjs/react-intl\n[travis-badge]: https://img.shields.io/travis/formatjs/react-intl/master.svg?style=flat-square\n[react]: http://facebook.github.io/react/\n[formatjs]: http://formatjs.io/\n[formatjs github]: http://formatjs.io/github/\n[documentation]: https://github.com/formatjs/react-intl/blob/master/docs/README.md\n[getting started]: https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md\n[examples]: https://github.com/formatjs/react-intl/tree/master/examples\n[v1-docs]: http://formatjs.io/react/v1/\n[contributing]: https://github.com/formatjs/react-intl/blob/master/CONTRIBUTING.md\n[license file]: https://github.com/formatjs/react-intl/blob/master/LICENSE.md\n","readmeFilename":"README.md","gitHead":"56757e39d4fc8fef47ed75106508d7e8b3cdd5b0","_id":"react-intl@3.0.0-beta-10","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"redonkulus","email":"seth@bertalotto.net"},"dist":{"integrity":"sha512-SBZ1mX9UlU1zTZDwJaNeUPxcOxfI1g/oHX+rCkEgdzdaY1vBNVLYBKwewDYFzlWK12aiGNST9Rgach8FohhZ4g==","shasum":"748a8e0bd40fc018cb873311afca1cf1421e84fa","tarball":"http://registry-npm.ywwl.com/react-intl/download/react-intl-3.0.0-beta-10.tgz","fileCount":336,"unpackedSize":2815628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGMucCRA9TVsSAnZWagAAm2UP/2ypaXuBx8uQsdyKyjPx\nwGakuVAIOgtsccjzaMUpr93K2LFRCeeQVreL2UcLrTj1kYtzZ9a/w5kAEZcm\nPoujO0AvPJ4rKD8RB68j5vYEUJx43z0F07Mb4fk200hWuz/3OTIINzQYsjXO\n8reVRGrKwh0kLHtg0AkHMe12796Vb8XSwIvwQVVy4EzIGOZQ05WLe/WRu99s\nkPd//ftM0DpCr8O2qBR8Tmkf9JUuEguUQmf5Tasy/7crEZ+/nNz0mh/5EFEF\n5v4ABMk5/0aPaJeqIZ5QSz0hlZFCKdWIzOpRv6FzAqdnVh8MgtoMHzqJdsgi\nZ7lUGKa0sUvnzUMpl09lBV5G1AlobXEvAiCWIEZ8QArTkz9ftQur3lR9+bmG\n4kTEpa2bGAYvmF/IpI+b+6eAj8rk3TyjMsb8lC5sWyHpeY4NZxpI1KyGArAP\npUzdCYbdclgJcxy1KoqPTi7ag+uMzn1qORiolFJSDI6LNjFj55xTLriAT77o\nJ78rpgwigGOIP6NeXqxNYQjg6+GGfM09V7CpJtd3V4t6n7RyvEZ2uFLvkGnZ\n3my/ZIvNP899JaFjy8apmABGuw5qdlhZ8uGdRP57HlGGsXxzbKWlyyVSSfVF\nVj2sU+HK3QZu5UdfTRNQ5RUukb1cNYTkPQ2q6vGA3pAVbqqeSR8IfQdzxCqC\nWT6o\r\n=I0Ke\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRO5yM1Az3awFAiYAo4YEaUmMG01iooRJ8ftSUsDmnTQIhAMmPycBK0DfSrBsBaCGpkmBkgH14ugDNB15wJoiWXO6i"}],"size":330267,"noattachment":false,"key":"/react-intl/-/react-intl-3.0.0-beta-10.tgz"},"maintainers":[{"name":"caridy","email":"caridy@gmail.com"},{"name":"clarle","email":"contact@clarle.com"},{"name":"ericf","email":"eferraiuolo@gmail.com"},{"name":"juandopazo","email":"dopazo.juan@gmail.com"},{"name":"okuryu","email":"okuryu@okuryu.com"},{"name":"redonkulus","email":"seth@bertalotto.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-intl_3.0.0-beta-10_1561906076269_0.9559462575224862"},"_hasShrinkwrap":false,"publish_time":1561906076487,"_cnpm_publish_time":1561906076487,"dist-tags":{"latest":"12.1.6","legacy":"9.0.0","next":"5.0.4-alpha.0","rc":"11.0.0-rc.1"}}