@sector-labs/lingui-conf

2.7.3-sl.20 • Public • Published

License Version Downloads

@lingui/conf

Get lingui configuration from package.json

⚠️ Internal package: You probably don't need this.

@lingui/conf is part of LinguiJS. See the documentation for all information, tutorials and examples.

Package finds nearest package.json starting from current directory, reads lingui configuration, provides defaults for all options and <rootDir> with current working directory.

Usage

const getConfig = require('@lingui/conf')

const config = getConfig()
// When package.json is located in '/app/package.json'
// config.rootDir === '/app'
// config.localeDir === '/app/locale'

See the reference documenation of lingui-cli for all options.

License

This package is licensed under MIT license.

Readme

Keywords

Package Sidebar

Install

npm i @sector-labs/lingui-conf

Weekly Downloads

1

Version

2.7.3-sl.20

License

MIT

Unpacked Size

6.18 kB

Total Files

4

Last publish

Collaborators

  • mihaitoader
  • liviusl
  • adeelzahir
  • cristi.ingineru
  • cipix2000
  • alexandrukis
  • sectorlabs
  • photonios
  • ovidiu_s
  • alexsfirlea
  • _alexandrukis
  • dolha.dan