transform-package-json
Version:
Utility script to transform package.json - Remove scripts, devDependencies and change properties.
6 lines (5 loc) • 319 B
TypeScript
export declare function isFile(src: string): boolean;
export declare function readFile(path: string): string;
export declare function readJSON<T = any>(path: string): T;
export declare function writeFile(path: string, content: string): void;
export declare function writeJSON(path: string, content: object): void;