{"name":"react-intl","version":"3.0.0-beta-8","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":"./lib/index.js","module":"./lib/index.es.js","jsnext:main":"./lib/index.es.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":{"hoist-non-react-statics":"^3.3.0","intl-format-cache":"^3.0.0","intl-locales-supported":"^1.0.10","intl-messageformat":"^4.0.0","intl-relativeformat":"^6.1.0","invariant":"^2.1.1","react-is":"^16.3.1","shallow-equal":"^1.1.0"},"peerDependencies":{"prop-types":"^15.5.4","react":"^16.3.1"},"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":"^1.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^7.1.1","babel-jest":"^23.6.0","babel-plugin-react-intl":"^2.0.0","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":"^7.2.0","benchmark":"^2.1.0","browserify":"^14.0.0","browserify-shim":"^3.8.11","cross-env":"^4.0.0","enzyme":"^3.6.0","enzyme-adapter-react-16":"^1.5.0","eslint":"^3.10.2","eslint-plugin-react":"^7.0.1","expect":"^1.9.0","express":"^4.13.3","full-icu":"^1.3.0","glob":"^7.0.0","intl":"^1.2.1","intl-messageformat-parser":"^1.2.0","intl-pluralrules":"^1.0.1","jest":"^23.6.0","mkdirp":"^0.5.1","prettier":"^1.6.1","progress":"^2.0.3","promise-queue":"^2.2.5","prop-types":"^15.6.1","react":"^16.8.6","react-dom":"^16.8.6","rimraf":"^2.4.2","rollup":"^1.13.0","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-node-resolve":"^5.0.1","rollup-plugin-replace":"^2.0.0","rollup-plugin-uglify":"^6.0.0","rollup-plugin-virtual":"^1.0.1","serialize-javascript":"^1.5.0","superagent":"^3.0.0","watchify":"^3.7.0"},"scripts":{"format":"prettier --check *.js scripts/*.js src/{*.js,**/*.js} *.md **/*.md","format:fix":"prettier --write *.js scripts/*.js src/{*.js,**/*.js} *.md **/*.md","clean":"rimraf src/en.js coverage/ dist/ lib/ test/renderer.js","build:lib":"rollup -c rollup.config.lib.js","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":"yarn run build:dist:dev && yarn run build:dist:prod","build":"yarn run build:lib && yarn run build:dist","lint":"eslint .","lint:fix":"eslint . --fix","test":"jest --coverage --verbose","test:react":"jest","test:all":"yarn run lint && yarn run format && yarn run test && yarn run test:react","test:watch":"jest --watch","test:perf":"cross-env NODE_ENV=production babel-node test/perf","examples:install":"babel-node scripts/examples yarn install","examples:link":"yarn link && babel-node scripts/examples yarn link react-intl","preversion":"yarn run clean && yarn run build && yarn run test:all","prepare":"yarn run clean && yarn run build"},"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/enQtNjM2MjM4NjE4ODIxLTMyMWE0YTNhMTlmMzZlNzJlNjEzMWY0YjM2ODUxYjlmNDE2YzQyMDIxZDg3Y2Q5YWNlMzhhYzRiNDk0OGQwNGI).\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":"7147cf937a5ab9038e678580ae0cd5443b48350a","_id":"react-intl@3.0.0-beta-8","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"redonkulus","email":"seth@bertalotto.net"},"dist":{"integrity":"sha512-706VWfLATgIUAGB6oLkWUIv3krsI8YmhC5wMrDzAScg/OSgn2lAmUviNheACb87BmJfSGb4LUaDWz0UN3qUYeg==","shasum":"6e638a494b02f5228c11737cf9c51f826d137738","tarball":"http://registry-npm.ywwl.com/react-intl/download/react-intl-3.0.0-beta-8.tgz","fileCount":271,"unpackedSize":2550422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAUSPCRA9TVsSAnZWagAAvc8P/i9QK4TSNsk0l5I3PQmJ\nENB76UzEfQ3sQhfd7AxWTr5wqvtThCTpVUvB1BCbU1xWUQsfwGGPlfFcw49Z\n4G1jsRJl2oqTYKA77upmD8ExUUb8EGi9TqgCgsdO3MEF/yeQTDS7F/mwRd9D\nxZAneHk8qpCjxTLEZch9J92oDHuDGAlKARJOXhPwirPrCdK1ykf9hV6/jBvF\nauSe5xeg7Q822aLkCuEaXN+/9dlyerqD17+IEJAZaG/9Rj+QBZ1LYMhGakSf\n5YO290Xf7D/x2Yhv3rM5zaWCS7aqbQNGaCX6kstj2yLdHMWM/ox/QjJlIZNK\nrCbssvZ+dtixLljrSR/4J9T0we38wuUIwTtBsjT/1AFs/lq2mBOdPb+cPdYP\nszsx7qLmw3b55XrVRPfWLqgBSf9ZCuObAIfoc4JzQFz+utBIm9Ju5QjI+iab\ncAEPgj5nZz2xuvDLCP/gRWn4YSqNvgcwn4Q2d/Q0oHYaIdj3b8sM90wLOinO\n+kpADwFHEvN8xXoW6A4K2gllZ4FAbWidKF39Y/pCZsMwkFB7X0myX0RyAiCX\nPKruGKqKVDfw0bUMhraVR2IHwWOSPM5r+DOhlFBb8W4YPD1JphNngSegonoq\nJbV/9Hi226SmOzVEhrj/ECbwGJ43JzWHSNa4Hto1GVea5dvuEb0EFK8Oc1FI\nF277\r\n=tRns\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOB8AxaF0CEfT8VLryI2g8pGmw2pfvFc9vqDbIwFsNcAiAwovOsEIxaCkR0UmZMKG+mkhXMvn9TxX1TlNrqZv5ifg=="}],"size":320378,"noattachment":false,"key":"/react-intl/-/react-intl-3.0.0-beta-8.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-8_1560364175115_0.10840579186104504"},"_hasShrinkwrap":false,"publish_time":1560364175278,"_cnpm_publish_time":1560364175278,"dist-tags":{"latest":"12.1.6","legacy":"9.0.0","next":"5.0.4-alpha.0","rc":"11.0.0-rc.1"}}