UNPKG

@shipengine/connect

Version:

The official developer tooling for building ShipEngine connect apps

16 lines 578 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.readAppManifest = void 0; const path_1 = require("path"); const fs_1 = require("fs"); /** * Reads a ShipEngine Connect app manifest (package.json file) */ const readAppManifest = (appPath) => { const manifestPath = (0, path_1.join)(appPath, 'package.json'); const packageJson = (0, fs_1.readFileSync)(manifestPath, 'utf-8'); const manifest = JSON.parse(packageJson); return manifest; }; exports.readAppManifest = readAppManifest; //# sourceMappingURL=read-app-manifest.js.map