@microsoft/api-extractor
Version:
Validate, document, and review the exported API for a TypeScript library
17 lines (15 loc) • 798 B
JavaScript
;
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
const os = require("os");
const colors = require("colors");
const path = require("path");
const ApiExtractorCommandLine_1 = require("./cli/ApiExtractorCommandLine");
const myPackageJsonFilename = path.resolve(path.join(__dirname, '..', 'package.json'));
const myPackageJson = require(myPackageJsonFilename);
console.log(os.EOL + colors.bold(`api-extractor ${myPackageJson.version} `
+ colors.cyan(' - http://aka.ms/extractor') + os.EOL));
const parser = new ApiExtractorCommandLine_1.ApiExtractorCommandLine();
parser.execute();
//# sourceMappingURL=start.js.map