UNPKG

350 BJavaScriptView Raw
1const { logInfo } = require('./log');
2const { packPackage, getPackageJson } = require('./utils');
3
4module.exports = async () => {
5 const { name, version } = getPackageJson({ throwErrorIfNotFound: true });
6 logInfo(`Packing package: ${name} v${version}`);
7 await packPackage(process.cwd());
8 logInfo('Finished packing this package.');
9};