├── .eslintignore ├── .eslintrc ├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── babel.config.js ├── package.json ├── src ├── index.js └── print-icu-message.js ├── test ├── __snapshots__ │ └── index.test.js.snap ├── fixtures │ ├── FormattedHTMLMessage │ │ ├── actual.js │ │ └── expected.json │ ├── FormattedMessage │ │ ├── actual.js │ │ └── expected.json │ ├── additionalComponentNames │ │ ├── actual.js │ │ └── expected.json │ ├── defineMessages │ │ ├── actual.js │ │ └── expected.json │ ├── descriptionsAsObjects │ │ ├── actual.js │ │ └── expected.json │ ├── enforceDescriptions │ │ └── actual.js │ ├── extractSourceLocation │ │ ├── actual.js │ │ └── expected.json │ ├── formatMessage │ │ ├── actual.js │ │ └── expected.json │ ├── icuSyntax │ │ └── actual.js │ ├── moduleSourceName │ │ ├── actual.js │ │ └── expected.json │ ├── overrideIdFn │ │ ├── actual.js │ │ └── expected.json │ ├── removeDefaultMessage │ │ ├── actual.js │ │ └── expected.json │ └── removeDescriptions │ │ └── actual.js └── index.test.js └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | test/**/expected.js 2 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/babel.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/package.json -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/src/index.js -------------------------------------------------------------------------------- /src/print-icu-message.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/src/print-icu-message.js -------------------------------------------------------------------------------- /test/__snapshots__/index.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/__snapshots__/index.test.js.snap -------------------------------------------------------------------------------- /test/fixtures/FormattedHTMLMessage/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/FormattedHTMLMessage/actual.js -------------------------------------------------------------------------------- /test/fixtures/FormattedHTMLMessage/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/FormattedHTMLMessage/expected.json -------------------------------------------------------------------------------- /test/fixtures/FormattedMessage/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/FormattedMessage/actual.js -------------------------------------------------------------------------------- /test/fixtures/FormattedMessage/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/FormattedMessage/expected.json -------------------------------------------------------------------------------- /test/fixtures/additionalComponentNames/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/additionalComponentNames/actual.js -------------------------------------------------------------------------------- /test/fixtures/additionalComponentNames/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/additionalComponentNames/expected.json -------------------------------------------------------------------------------- /test/fixtures/defineMessages/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/defineMessages/actual.js -------------------------------------------------------------------------------- /test/fixtures/defineMessages/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/defineMessages/expected.json -------------------------------------------------------------------------------- /test/fixtures/descriptionsAsObjects/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/descriptionsAsObjects/actual.js -------------------------------------------------------------------------------- /test/fixtures/descriptionsAsObjects/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/descriptionsAsObjects/expected.json -------------------------------------------------------------------------------- /test/fixtures/enforceDescriptions/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/enforceDescriptions/actual.js -------------------------------------------------------------------------------- /test/fixtures/extractSourceLocation/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/extractSourceLocation/actual.js -------------------------------------------------------------------------------- /test/fixtures/extractSourceLocation/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/extractSourceLocation/expected.json -------------------------------------------------------------------------------- /test/fixtures/formatMessage/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/formatMessage/actual.js -------------------------------------------------------------------------------- /test/fixtures/formatMessage/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/formatMessage/expected.json -------------------------------------------------------------------------------- /test/fixtures/icuSyntax/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/icuSyntax/actual.js -------------------------------------------------------------------------------- /test/fixtures/moduleSourceName/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/moduleSourceName/actual.js -------------------------------------------------------------------------------- /test/fixtures/moduleSourceName/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/moduleSourceName/expected.json -------------------------------------------------------------------------------- /test/fixtures/overrideIdFn/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/overrideIdFn/actual.js -------------------------------------------------------------------------------- /test/fixtures/overrideIdFn/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/overrideIdFn/expected.json -------------------------------------------------------------------------------- /test/fixtures/removeDefaultMessage/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/removeDefaultMessage/actual.js -------------------------------------------------------------------------------- /test/fixtures/removeDefaultMessage/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/removeDefaultMessage/expected.json -------------------------------------------------------------------------------- /test/fixtures/removeDescriptions/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/fixtures/removeDescriptions/actual.js -------------------------------------------------------------------------------- /test/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/test/index.test.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/formatjs/babel-plugin-react-intl/HEAD/yarn.lock --------------------------------------------------------------------------------