react-cleanup-cli
Version:
Ever wanted a tool that creates a React project for you with all the clutter removed? Vite is a great bundling tool that sets up a React Project quickly. But for those of us who don't want any of the boilerplate css or jsx or to remove the svgs it has to
17 lines (16 loc) • 899 B
TypeScript
import { messageColor } from ".";
export declare function colorMessage(color: messageColor, message: string): void;
export declare function welcomeMessage(): void;
export declare function handleExit(): void;
export declare function updateFile(pathOf: string, mainFile: string): Promise<void>;
export declare function cleanAppCss(filePath: string): Promise<void>;
export declare function removeImport(pathOf: string, stringToSearch: string): Promise<void>;
export declare function changeSiteTitle(pathOf: string, stringToSearch: string, siteTitle: string): Promise<void>;
export declare function removeSvgs(pathToFiles: string[]): Promise<void>;
export declare function performOperations({ fullPath, confirmAll, isTypeScript, htmlTitle, deleteSvgs, }: {
fullPath: string;
confirmAll?: boolean;
isTypeScript?: boolean;
htmlTitle?: boolean;
deleteSvgs?: boolean;
}): Promise<void>;