Source: index.js

"use strict";
/**
 * `GlaceJS` main module.
 *
 * @module
 *
 * @prop {object} config - {@link module:config|Config} module.
 * @prop {object} error - {@link module:error|Error} module.
 * @prop {function} help - {@link module:help|Help} module.
 * @prop {object} reporter - {@link module:reporter/index|Reporter} module.
 * @prop {object} run - {@link module:run|run} module.
 * @prop {object} Steps - {@link module:steps|Steps} module.
 */

var allure, config, error, help, plugins, reporter, run, Steps;

Object.defineProperties(exports, {
    allure: {
        get: function () {
            allure = allure || require("./allure");
            return allure;
        },
    },
    /**
     * @type {GlaceConfig}
     */
    config: {
        get: function() {
            config = config || require("./config");
            return config;
        },
    },
    error: {
        get: function() {
            error = error || require("./error");
            return error;
        },
    },
    /**
     * Help.
     */
    help: {
        get: function () {
            help = help || require("./help");
            return help;
        },
    },
    plugins: {
        get: function () {
            plugins = plugins || require("./plugins");
            return plugins;
        },
    },
    /**
     * @type {GlaceReporter}
     */
    reporter: {
        get: function() {
            reporter = reporter || require("./reporter");
            return reporter;
        },
    },
    /**
     * @type {run}
     */
    run: {
        get: function() {
            run = run || require("./run");
            return run;
        },
    },
    /**
     * @type {Steps}
     */
    Steps: {
        get: function() {
            Steps = Steps || require("./steps");
            return Steps;
        },
    },
});