"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const loadJsonFile = require("load-json-file");
const path = require("path");
const pkgJson = loadJsonFile.sync(path.resolve(__dirname, '../package.json'));
const packageManager = {
    name: pkgJson.name,
    // Never a prerelease version
    stableVersion: pkgJson.version.includes('-')
        ? pkgJson.version.substr(0, pkgJson.version.indexOf('-'))
        : pkgJson.version,
    // This may be a 3.0.0-beta.2
    version: pkgJson.version,
};
exports.default = packageManager;
