UNPKG

chimp

Version:

Your development companion for doing quality, faster.

13 lines (12 loc) 451 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getChimpVersion = void 0; const tslib_1 = require("tslib"); // @ts-ignore const find_package_json_1 = tslib_1.__importDefault(require("find-package-json")); const getChimpVersion = () => { const f = (0, find_package_json_1.default)(__dirname); const packageJson = f.next(); return packageJson.value.version; }; exports.getChimpVersion = getChimpVersion;