<NME> pre-publish.js
<BEF> const fsExtra = require('fs-extra');
const path = require('path');
const argv = require('minimist')(process.argv.slice(2), { string: 'version' });

const version = argv.version;

if (!version) {
    console.error(`missing argument 'version'`);
    process.exit(1);
    return;
}

const packageJSONPath = path.resolve(__dirname, '../package.json');

const packageJSON = fsExtra.readJSONSync(packageJSONPath);


packageJSON.version = version;
packageJSON.private = false;
packageJSON.dependencies = {};

fsExtra.writeJSONSync(packageJSONPath, packageJSON, { spaces: 2 })

<MSG> fix: missing dependencies in deployed package

<DFF> @@ -17,6 +17,5 @@ const packageJSON = fsExtra.readJSONSync(packageJSONPath);
 
 packageJSON.version = version;
 packageJSON.private = false;
-packageJSON.dependencies = {};
 
 fsExtra.writeJSONSync(packageJSONPath, packageJSON, { spaces: 2 })

fix: missing dependencies in deployed package