2.0.6-sl.1 • Published 6 years ago
@nightingales/lingui-conf v2.0.6-sl.1
lingui-conf
Get lingui configuration from package.json
⚠️ Internal package: You probably don't need this.
lingui-conf
is part of js-lingui. 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
2.0.6-sl.5
6 years ago
2.0.6-sl.4
6 years ago
2.0.6-sl.3
6 years ago
2.0.6-sl.2
6 years ago
2.0.6-sl.1-sl.1-sl.2
6 years ago
2.0.6-sl.1-sl.1
6 years ago
2.0.6-sl.1
6 years ago