Package Exports
- @sector-labs/lingui-cli/api
- @sector-labs/lingui-cli/api/compile
- @sector-labs/lingui-cli/api/extract
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sector-labs/lingui-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@lingui/cli
lingui command line tools for manipulating message catalogues
@lingui/cli
is part of LinguiJS. See the documentation for all information, tutorials and examples.
Installation
npm install --global @lingui/cli
# yarn global add @lingui/cli
Note: If you don't wist to install package globally, it works locally
as well. However, you need either run it from node_modules/.bin/lingui
or
add it to your package.json
:
{
"scripts": {
"add-locale": "lingui add-locale",
"extract": "lingui extract",
"compile": "lingui compile"
}
}
Then you can use:
npm run add-locale -- en cs
npm run extract
npm run compile
Usage
See the tutorial or reference documenation.
License
This package is licensed under MIT license.