@darkobits/re-pack
Version:
Utility for managing NPM package contents.
30 lines (29 loc) • 513 B
JavaScript
const REWRITE_FIELDS = [
"bin",
"browser",
"directories",
"exports",
"files",
"main",
"man",
"module"
];
const DEFAULT_OPTIONS = {
cwd: process.cwd(),
hoistDir: "dist",
packDir: ".re-pack",
watch: false,
link: false
};
const DEFAULT_PUBLISH_OPTIONS = {
cwd: DEFAULT_OPTIONS.cwd,
hoistDir: DEFAULT_OPTIONS.hoistDir,
packDir: DEFAULT_OPTIONS.packDir,
dryRun: false
};
export {
DEFAULT_OPTIONS,
DEFAULT_PUBLISH_OPTIONS,
REWRITE_FIELDS
};
//# sourceMappingURL=constants.js.map