Apeman app configuration file.
- Source:
- See:
Namespaces
Methods
-
<static> basedir()() → {string}
-
Get base directory.
- Source:
Returns:
- Apemanfile base directory.
- Type
- string
-
<static> helper() → {object}
-
Get apeman helper functions, which will be called in another Apeman file.
- Source:
Returns:
- Apeman helper object.
- Type
- object
Example
//Helper could be used in descendants of this apeman file. module.exports = function(apeman){ var Apemanfile = apeman.ApemanfileObject, var prototype = require('__another_apeman_file_path')(apeman); h = prototype.helper(); return new Apemanfile({ tasks:{ doSomething: h.doSomethingTask({foo: 'bar'}) } }); }; -
<static> meta() → {object}
-
Get meta data.
- Source:
Returns:
- Meta data.
- Type
- object
-
<static> tasks()() → {object}
-
Get tasks data. Each key is a task name which will be passed to "apeman task" command.
- Source:
Returns:
- Tasks data.
- Type
- object