import { createZPM } from "./lib"; import { promises as fs } from "fs"; const main = async () => { const packageJSON = JSON.parse(await fs.readFile("./package.json", "utf-8")); const { name, version } = packageJSON; console.log(`Building ${name} v${version}`); await createZPM({ name, version }); } main();