UNPKG

@communities-webruntime/services

Version:

If you would like to run Lightning Web Runtime without the CLI, we expose some of our programmatic APIs available in Node.js. If you're looking for the CLI documentation [you can find that here](https://www.npmjs.com/package/@communities-webruntime/cli).

20 lines 826 B
/** @hidden */ /** * Copyright (c) 2019, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: MIT * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT */ /** * Ensures that the given directories exist * @param {Object} dirs Directory paths, keyed by any kind of name * @throws If one of the paths does not exist or is not a directory */ export declare function checkDirsExist(dirs: any): void; /** * Ensures that the given files exist, or are valid json objects * @param {Object} files File paths or json properties, keyed by any kind of name * @throws If one of the paths does not exist or is not a file or a json object. */ export declare function checkFilesOrJsonObjectExist(filesOrJson: any): void; //# sourceMappingURL=preconditions.d.ts.map