{"name":"react-intl","version":"3.0.0-beta-4","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","browser":{"./locale-data/index":false,"./locale-data/index.js":false},"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":"^2.0.5","intl-messageformat":"^2.1.0","intl-relativeformat":"^2.1.0","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","glob":"^7.0.0","intl":"^1.2.1","intl-messageformat-parser":"^1.2.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.3.1","react-dom":"^16.3.3","rimraf":"^2.4.2","rollup":"^0.66.2","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-node-resolve":"^3.4.0","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 --write --single-quote --trailing-comma=es5 --bracket-spacing false *.js scripts/*.js src/{*.js,**/*.js}","clean":"rimraf src/en.js coverage/ dist/ lib/ locale-data/ test/renderer.js","build:data":"babel-node scripts/build-data","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:data && 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 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 repo's [Wiki][Documentation], [__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/wiki\n[Getting Started]: https://github.com/formatjs/react-intl/wiki#getting-started\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":"5881153fccf4a990126befb3a6644a2a2472b52b","_id":"react-intl@3.0.0-beta-4","_nodeVersion":"10.7.0","_npmVersion":"6.9.0","_npmUser":{"name":"redonkulus","email":"seth@bertalotto.net"},"dist":{"integrity":"sha512-HuKwEH10KOxJTgJ2RYySTPhDqerX1O/MilLWIrsRPfefaD46uZdRpId0P0smnMea3O2OQeer/8rtVCvWrpGpow==","shasum":"9d4cbd2bdd5c962541d8b27cb244b8cd9f74991d","tarball":"http://registry-npm.ywwl.com/react-intl/download/react-intl-3.0.0-beta-4.tgz","fileCount":274,"unpackedSize":2261156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7AKGCRA9TVsSAnZWagAAFvsQAJIfz9iGoUqWZd/YVUnO\ndQxwAAdnLaMy3qYqnqucMiswErM+YtpHPWetTuHzVKwAnDzQPObMBvgoFuYG\nQvfWBLTiJErDL3hrH6lx4qffEKGbSj7QXjUoSnkKJ565MePuf4jqIgtE8hRD\nwFBZR/ceKWttJdwyvZZip41suGWV/m2oLXS8qlh+IEzuqhc5JaXswcd9Ulg+\nuqrzgDnQSZ1z9QZkhzwAIzx1m1UvudfPoncapp8UHaUEJjJJ7Hi6qTPBhQmE\nk62er3WC68Gyk3jJO/Ni0d4aLcLnldGTlGTyKzPvMKZ31GK0qMENb65m4j9c\nQGPk9qtFU6ka2wHXjSHBeQ7bOkyCZ3aj/LU4zPc6bgN6uxvziNdat/Y1HAJE\npQRvOzF6uTc/pAgudvASDxm/RfZlKaN5cKppSaQlXtMO9i/tSU/ljW0ZRLSE\nh8nWKBX9cLlqZAw3h7X9KoxztoRySe2UfAC/SmQ5l6Mw1t6DQ+wVbd6fe2Ln\nAIPZzYzDH75ymCVSs+Y0gAvcCmgwsaIVS9k7gjfev4giJUXW2G3K5dPpjp9M\nmqGRGh0Fygyv2VC/oJZuy1+vlbKKMnRwXerG9Zpa4GOzi2iNZTY38olVB2qU\nc+euNoXeEbFlfQUyzFLz4F6b7Tar7OHk1Hg3cuNstuujPTbmMmM4T9rd4uzL\nbSGM\r\n=DR88\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBzF9yp7E/7fO74KeKxXzH72WZ+l2DO25z6GFNo8EebYAiAzHwE9YyGw14618lvBu4OsTFbDZ3+hXuQzAihoLZoDWQ=="}],"size":329378,"noattachment":false,"key":"/react-intl/-/react-intl-3.0.0-beta-4.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-4_1558971012541_0.9693873288787551"},"_hasShrinkwrap":false,"publish_time":1558971012755,"_cnpm_publish_time":1558971012755,"dist-tags":{"latest":"12.1.6","legacy":"9.0.0","next":"5.0.4-alpha.0","rc":"11.0.0-rc.1"}}