@reliverse/rse-sdk
Version:
@reliverse/rse-sdk without cli. @reliverse/rse-sdk allows you to create new plugins for @reliverse/rse CLI, interact with reliverse.org, and even extend your own CLI functionality (you may also try @reliverse/dler-sdk for this case).
8 lines (7 loc) • 373 B
TypeScript
/**
* Checks if a specific script exists in package.json
* @param projectPath - Path to the project directory containing package.json
* @param scriptName - Name of the script to check for
* @returns Promise resolving to true if the script exists, false otherwise
*/
export declare function checkScriptExists(projectPath: string, scriptName: string): Promise<boolean>;