{"name":"react-intl","version":"3.0.0-beta-7","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-messageformat":"^4.0.0","intl-relativeformat":"^6.1.0","intl-locales-supported":"^1.0.10","invariant":"^2.1.1","react-display-name":"^0.2.4","react-is":"^16.3.1"},"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","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","formatjs-extract-cldr-data":"^6.0.0","full-icu":"^1.3.0","glob":"^7.0.0","intl":"^1.2.1","intl-messageformat-parser":"^1.2.0","intl-pluralrules":"^1.0.1","@formatjs/intl-relativetimeformat":"^1.0.0","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}","format:fix":"prettier --write *.js scripts/*.js src/{*.js,**/*.js}","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==========\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\nOverview\n--------\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```\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\nContribute\n---------\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\nLicense\n-------\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\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":"247dbaef31ce2b9a5118393a4129be602a497b94","_id":"react-intl@3.0.0-beta-7","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"redonkulus","email":"seth@bertalotto.net"},"dist":{"integrity":"sha512-lPR7b2Lu1S2a8WboiHyDX57OUCFbnLwFv7Vb+Ww40i954q4gPSj6XIYmpaBV8W6tN6BbURN8tZUezbHc9epNng==","shasum":"f6a5ab480b569334858d80cf97dd115b22a99771","tarball":"http://registry-npm.ywwl.com/react-intl/download/react-intl-3.0.0-beta-7.tgz","fileCount":271,"unpackedSize":2579775,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc99hRCRA9TVsSAnZWagAAInQP/RrAFteA19FbcinfKre6\nx9+08GO+DNwy/Do6cR2iwPYKuWQhYmDX/bqHNKnQnlHWW6yafVHQCPBxXHtU\n6WuO6q4lgCYqJUE08Epvj6zzff1wP+iwkDTdiMZeRL4MRWAUZ4oN+78t7TnG\nboNoQSI6+2Q3eAUI+qkS8uyR6rRoFloLuFonHomgcnCD2wlTLDt/q52P0q3R\nZZ+Dwkn7I5+cwrbbR6xQ9E50pk39wtwMphoBo7YuSX0yIGyKkotPeFMjDxMB\nu4OYu4YAPSTwF/Fy9R8WgtCc7OauGwx7toaVPxEjWx0RxfRQRFhp6ux/hJSQ\nMikqopDH/0cq8BRbbur8k0G5S4ZxrtcDI7DIZqNvdmh6/mqI61ZIQ3IIIVfK\nrwSIlnVQswzgqmcABGJ7MMGuPr518b1hlg+TD3YZ42gJGCWjs8WS/3B0N/QH\nX3cYeMr+dGdE11KlRu9zMTwN1CjrljibB6BQL/Q2IuyeJ5PsZBVk86R91N66\nH01ZPWTjmpxpLbtk67UURiooFEgpZJ21i/0YSqyINJHt+BY7kLji5N0v1S1f\n+JdgBDYKeDJ8lqiZX1d5INC93fYt5smajPDCIhLVbqUNov8RaHIvrZlIUxnH\nlgGWy6vaydqvD9rZmmAK7vSNneRWaL2oac84am0FipU+FRil/sZZNHvrIUF1\n30uv\r\n=wOLE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEyTU/6FC+3FrVLFTolwTEHmFRX7CMjhGJpAosgoDMdDAiA+pjPEJRpjRurA4pqgY5bubt1JvCBTfpHsBolHm7cSZQ=="}],"size":323636,"noattachment":false,"key":"/react-intl/-/react-intl-3.0.0-beta-7.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-7_1559746640399_0.9318752286733725"},"_hasShrinkwrap":false,"publish_time":1559746640619,"_cnpm_publish_time":1559746640619,"dist-tags":{"latest":"12.1.6","legacy":"9.0.0","next":"5.0.4-alpha.0","rc":"11.0.0-rc.1"}}