
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
lingui-conf
Advanced tools
Get lingui configuration from package.json
Internal package: You probably don't need this package. It's used by packages in js-lingui
Package finds nearest package.json starting from current directory, reads lingui
configuration, provides defaults for all options and <rootDir>
with current working directory.
const getConfig = require('lingui-conf')
const config = getConfig()
// When package.json is located in '/app/package.json'
// config.rootDir === '/app'
// config.localeDir === '/app/locale'
localeDir
[string]Default: "/locale"
Directory with locales
srcPathDirs
[array<string>]Default: [""]
A list of path to directories where application source files are located. Plugins and CLI looks for translations in these directories.
srcPathIgnorePatterns
[array<string>]Default: ["/node_modules/"]
An array of regexp pattern strings that are matched against all src paths. Plugins and CLI will ignore these paths.
FAQs
Get lingui configuration from package.json
The npm package lingui-conf receives a total of 7 weekly downloads. As such, lingui-conf popularity was classified as not popular.
We found that lingui-conf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.