@lingui/conf
Get lingui configuration from package.json
Last updated a month ago by tricoder .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @lingui/conf 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 2.9.1                                ...           latest (a month ago)
  • 3.0.0-7                                ...           next (8 months ago)

47 Versions

  • 2.9.1                                ...           a month ago
  • 2.9.0                                ...           3 months ago
  • 3.0.0-7                                ...           8 months ago
  • 3.0.0-6                                ...           9 months ago
  • 2.8.3                                ...           9 months ago
  • 2.8.2                                ...           9 months ago
  • 3.0.0-5                                ...           9 months ago
  • 2.8.1                                ...           9 months ago
  • 3.0.0-4                                ...           9 months ago
  • 2.8.0                                ...           9 months ago
  • 2.7.4                                ...           a year ago
  • 2.7.3                                ...           a year ago
  • 2.7.2                                ...           a year ago
  • 2.7.1                                ...           a year ago
  • 3.0.0-3                                ...           a year ago
  • 3.0.0-1                                ...           a year ago
  • 2.7.0                                ...           a year ago
  • 2.6.1                                ...           a year ago
  • 2.6.0                                ...           a year ago
  • 2.5.0                                ...           2 years ago
  • 2.4.2                                ...           2 years ago
  • 2.4.1                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.0-11                                ...           2 years ago
  • 2.2.0-9                                ...           2 years ago
  • 2.2.0-23                                ...           2 years ago
  • 2.2.0-22                                ...           2 years ago
  • 2.2.0-16                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.8                                ...           2 years ago
  • 2.0.7                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 2.0.0-5                                ...           2 years ago
  • 2.0.0-4                                ...           2 years ago
  • 2.0.0-3                                ...           2 years ago
  • 2.0.0-2                                ...           2 years ago
  • 2.0.0-1                                ...           2 years ago
  • 2.0.0-0                                ...           2 years ago
Maintainers (1)
Downloads
Today 1
This Week 18
This Month 437
Last Day 17
Last Week 150
Last Month 680
Dependencies (5)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |