@pakk/core
Version:
The core library of pakk, that can manage your package.json for library development.
22 lines • 756 B
TypeScript
/**
* These are the kinds of packageJson files we distinguish. The on you interact
* with during DEVELOPMENT is the source packageJson file, and will be
* transformed prior to DISTRIBUTION.
*/
export declare const PACKAGE_JSON_KIND: {
/**
* Used in the repository as the source packageJson
*/
readonly DEVELOPMENT: "development";
/**
* The packageJson that will be in the distributed package
*/
readonly DISTRIBUTION: "distribution";
};
/**
* @deprecated use common
*/
export type ValuesOf<T> = T[keyof T];
export type PackageJsonKindType = ValuesOf<typeof PACKAGE_JSON_KIND>;
export declare const isPackageJsonKindType: (s: string) => s is PackageJsonKindType;
//# sourceMappingURL=package-json-kind.enum.d.ts.map