import { build, emptyDir } from "https://deno.land/x/dnt/mod.ts";
await emptyDir("./npm");
await build({ entryPoints: ["./mod.ts"], outDir: "./npm", shims: { deno: true, }, package: { name: "clazzx", version: "0.0.2", description: "ClazzX is a small typesafe utility library for composing HTML classes.", license: "MIT", repository: { type: "git", url: "git+https://github.com/B3nten/clazzx", }, }, typeCheck: false,});
Deno.copyFileSync("LICENSE", "npm/LICENSE");Deno.copyFileSync("README.md", "npm/README.md");