Socket
Book a DemoInstallSign in
Socket

@sector-labs/lingui-conf

Package Overview
Dependencies
Maintainers
6
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sector-labs/lingui-conf

Get lingui configuration from package.json

latest
Source
npmnpm
Version
2.7.3-sl.20
Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source

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.

Keywords

lingui

FAQs

Package last updated on 09 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts