Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lfr-module-config-generator

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lfr-module-config-generator

Liferay AMD modules config generator

  • 1.1.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

Liferay AMD Module config generator

Generates the config file, needed to load AMD files via combobox in Liferay

  Usage: lfr-cfgen [options] <file ...>

  Options:

    -h, --help                                   output usage information
    -b, --base [file name]                       Already existing template to be used as base for the parsed configuration
    -c, --config [config variable]               The configuration variable to which the modules should be added. Default: __CONFIG__
    -e, --extension [module extension]           Use the provided string as an extension instead to get it automatically from the file name. Default: ""
    -f, --format [module format]                 Regex and value which will be applied to the file name when generating the module name. Example: "/_/g,-". Default: ""
    -i, --ignorePath [ignore path]               Do not create module path and fullPath properties.
    -k, --keepExtension [keep file extension]    If true, will keep the file extension when it generates module name. Default: false
    -l, --lowerCase [lower case]                 Convert file name to lower case before to use it as module name. Default: false
    -m, --moduleConfig [module configuration]    JSON file which contains configuration data for the modules, for example module prefix
    -o, --output [file name]                     Output file to store the generated configuration
    -p, --filePattern [file pattern]             The pattern to be used in order to find files for processing. Default: "**/*.js"
    -r, --moduleRoot [module root]               The folder which will be used as starting point from which the module name should be generated. Default: current working directory
    -s, --skipFileOverride [skip file override]  Do not overwrite module file if name is auto generated.
    -V, --version                                output the version number

Keywords

FAQs

Package last updated on 09 Dec 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc