function addFrameworksToZip(frameworkType, frameworkDir, frameworkName) {
  const zipFrameworkPath = path.join("frameworks", frameworkType, frameworkName);

  addLocalFileIfExists(`${frameworkDir}/package-lock.json`, `${zipFrameworkPath}`);

  addLocalFolderIfExists(`${frameworkDir}/dist`, `${zipFrameworkPath}/dist`);
  addLocalFolderIfExists(`${frameworkDir}/scripts`, `${zipFrameworkPath}/scripts`);
  addLocalFolderIfExists(`${frameworkDir}/node_modules/slim-js/dist`, `${zipFrameworkPath}/node_modules/slim-js/dist`);
  addLocalFolderIfExists(
    `${frameworkDir}/node_modules/@neow/core/dist`,
    `${zipFrameworkPath}/node_modules/@neow/core/dist`
  );
  addLocalFolderIfExists(`${frameworkDir}/target/web/stage`, `${zipFrameworkPath}/target/web/stage`);
  addLocalFolderIfExists(`${frameworkDir}/build`, `${zipFrameworkPath}/build`);

  if (frameworkName !== "ember" && frameworkName !== "glimmer") {
    addLocalFolderIfExists(`${frameworkDir}/public`, `${zipFrameworkPath}/public`);
  }

  switch (frameworkName) {
    case "deku": 
    case "halogen": {
      addLocalFileIfExists(`${frameworkDir}/output-es/bundle.js`, `${zipFrameworkPath}/output-es`);
      break;
    }
    case "dojo": {
      addLocalFolderIfExists(`${frameworkDir}/output/dist`, `${zipFrameworkPath}/output/dist`);
      break;
    }
    case "s2": {
      addLocalFolderIfExists(
        `${frameworkDir}/node_modules/s2-engine/dist`,
        `${zipFrameworkPath}/node_modules/s2-engine/dist`
      );
      break;
    }
    case "stem": {
      addLocalFolderIfExists(
        `${frameworkDir}/node_modules/babel-polyfill/dist`,
        `${zipFrameworkPath}/node_modules/babel-polyfill/dist`
      );
      addLocalFileIfExists(`${frameworkDir}/src/bundle.js`, `${zipFrameworkPath}/src`);
      break;
    }
    default: {
      addLocalFolderIfExists(`${frameworkDir}/output`, `${zipFrameworkPath}/output`);
    }
  }
}
Adds frameworks to the zip archive
@param {string} frameworkType
@param {string} frameworkDir
@param {string} frameworkName