1.0.1 • Published 8 years ago
@tiddo/flow-json-config v1.0.1
Utility that transforms a JSON object into a flowconfig file.
Install
npm install -g @tiddo/flow-json-configUsage:
flow-json-config file.json [configPath] > .flowconfigconfigPath is an optional parameter that causes flow-json-config to get
its configuration from a subfield of the input JSON. This can for example
be used to put the configuration in the package.json:
flow-json-config package.json [configPath] > .flowconfigFormat
{
"ignore" : [/* ignore path */],
"include" : [/* include paths */],
"libs" : [/* lib paths */],
"options" : {
"optionKey" : "optionValue",
"nested" : {
"subKey" : "subValue"
}
}
}See the examples folder for full examples.