{"size": 648, "ext": "js", "max_stars_repo_path": "dist/src/version.js", "max_stars_repo_name": "Troublor/jasmine-eth-ts", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "dist/src/version.js", "max_issues_repo_name": "Troublor/jasmine-eth-ts", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "dist/src/version.js", "max_forks_repo_name": "Troublor/jasmine-eth-ts", "max_forks_repo_forks_event_min_datetime": "2020-09-24T14:31:46.000Z", "max_forks_repo_forks_event_max_datetime": "2020-09-24T14:31:46.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 38.1176470588, "max_line_length": 62, "alphanum_fraction": 0.7083333333}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.versionNum = exports.versionStr = void 0;
// eslint-disable-next-line @typescript-eslint/no-var-requires
const info = require("root-require")("./package.json");
const major = parseInt(info.version.split(".")[0]);
const minor = parseInt(info.version.split(".")[1]);
const patch = parseInt(info.version.split(".")[2]);
function versionStr() {
    return `v${major}.${minor}.${patch}`;
}
exports.versionStr = versionStr;
function versionNum() {
    return major * 1000000 + minor * 1000 + patch;
}
exports.versionNum = versionNum;
//# sourceMappingURL=version.js.map