{"name":"react-intl","version":"3.0.0-beta-11","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","fs-extra":"^8.1.0","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","markdown-toc":"^1.2.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":{"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:lib":"tsc && tsc -p tsconfig.cjs.json","build":"npm run build:lib && npm run build:dist","clean":"rimraf src/en.js coverage/ dist/ lib/ test/renderer.js","examples:install":"babel-node scripts/examples npm install","examples:link":"npm link && babel-node scripts/examples npm link react-intl","format:fix":"prettier --write '**/*.{js,md,jsx,ts,tsx}'","format":"prettier --check '**/*.{js,md,jsx,ts,tsx}'","lint:fix":"eslint . --fix","lint":"eslint .","prepare":"npm run clean && npm run build","preversion":"npm run clean && npm run build && npm run test:all","test:all":"npm run lint && npm run format && npm run test","test:perf":"cross-env NODE_ENV=production babel-node test/perf","test:watch":"jest --watch","test":"jest --coverage --verbose","toc":"node scripts/toc"},"pre-commit":["toc","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":"03a66c9c8a29ffbe219be47b395f58095ab0deca","_id":"react-intl@3.0.0-beta-11","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"redonkulus","email":"seth@bertalotto.net"},"dist":{"integrity":"sha512-bim8anaM7WXuUhheTbF15pSUVYwBdvGdPppCn3aV95AoMU0h+OTgfVd+5kAvIP4iBIYN1znMsxl5xtkFiB6O0g==","shasum":"bc97814e116eaaf16652d4c22bfffcb3f9225267","tarball":"http://registry-npm.ywwl.com/react-intl/download/react-intl-3.0.0-beta-11.tgz","fileCount":336,"unpackedSize":2819746,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGkPZCRA9TVsSAnZWagAAqm0QAIHiQs3Cihc6ZvATd4fU\n/me1oSmK1fqKe/607L1wfcL7CBmwyyJ1EbhYK7maDm4YltI17esE8T3fLdA0\n6hO8pizDCODFlBQTsbc8hLeyVjxy+uOwpjindgA0tJmvBNt399sGcYxqPG1d\na1dPIyG43Cnr41KS8srgvqN4JJI71St+oe6aw1xaS7B3O3/PFNO46zbIJdS9\neiEj3Z7+Yq7qQCYIExW9Qhy8Uhxn/11bABjMe/angiOg4pbtA5TRPWp7LoPO\ntiGm2yH330Adn6vg4aJBPC8cfyixs6n2EtqGIk1aT2BZxEr5O7WebKKW0aaX\n/GQbobsKXSDvZ79jfsRgiBcBR5Wbvnes6rzFpJ+8eit1E7Gm/wREZDj+2pwI\niLYvI3KQO66zp/DPrLxvSZSS7nweCkTociYczasSOKtK5jwcP2F+Mb7P9zEW\nB7RH8o1eLyo2Dk2K23k9IeJSjwqIk3KJkc0r6nnpFxzkX7xuFXSKgtHFmPQ6\nOlAoH/JkTR7Pd351xdidbWIqorY7hkCkLHzhAywyWyPe2wOYO6Z7kzAFgIYa\nKutWa7aDBfXys4E+xncpMth5vF8XTQ4pZVOXvzK6W2KVcuIPdRCV85QaMyY2\nN9yYfE7yfGIhaA1PfLeeLeNNvTruGaq2Y3ea5czE/igPcKPPun2yYkw3Hnj6\nrjGU\r\n=aavK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9PnQpUkAE4JBXZW0850mUUVY/T0KpYFR5/RaOs50UcAiEAqvQ5lMBKgj+DGlOyYh97GNK1KgS7/c2/M33BUQASamY="}],"size":331325,"noattachment":false,"key":"/react-intl/-/react-intl-3.0.0-beta-11.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-11_1562002392875_0.02127251861766366"},"_hasShrinkwrap":false,"publish_time":1562002393072,"_cnpm_publish_time":1562002393072,"dist-tags":{"latest":"12.1.6","legacy":"9.0.0","next":"5.0.4-alpha.0","rc":"11.0.0-rc.1"}}