{"size": 1140, "ext": "js", "max_stars_repo_path": "lib/utils/constants.js", "max_stars_repo_name": "photowey/shark-cli", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/utils/constants.js", "max_issues_repo_name": "photowey/shark-cli", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/utils/constants.js", "max_forks_repo_name": "photowey/shark-cli", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.6164383562, "max_line_length": 72, "alphanum_fraction": 0.601754386}
/**
 * $ shark commons.
 */

const os = require('os');
const path = require('path');

/**
 * Cli name.
 */
const CLI_NAME = 'shark';
/**
 * db.json.
 */
const DB_NAME = 'db.json';

/**
 * Success message.
 */
const SUCCESS_MESSAGE = 'Congratulations, Shark execution is complete!';

/**
 * Sponsor message.
 */
const SPONSOR_MESSAGE = 'Sponsored with ❤️ by <photowey@gmail.com>.';

/**
 * Shark home.
 */
const SHARK_HOME = `${os.homedir()}${path.sep}.${CLI_NAME}`;

/**
 * Shark db.
 */
const SHARK_DB = `${SHARK_HOME}${path.sep}${DB_NAME}`;

/**
 * Svn branches
 */
const BRANCHES = ['trunk', 'current']

/**
 * The evns
 */
const EVNS = ['dev', 'dev1', 'test', 'show', 'test1', 'syh', 'pro']

/**
 * The target machine room.
 */
const MACHINES = ['zcj', 'xcj', 'glxt']

/**
 * The product codes
 */
const PRODUCT_CODES = ['gmsoft', 'zcj', 'xcj', 'djc']

/**
 * The project-template file name.
 */
const PROJECT_TEMPLATE_NAME = 'project-template'

module.exports = {
    CLI_NAME,
    SUCCESS_MESSAGE,
    SPONSOR_MESSAGE,
    SHARK_HOME,
    SHARK_DB,
    BRANCHES,
    EVNS,
    MACHINES,
    PRODUCT_CODES,
    PROJECT_TEMPLATE_NAME
};