1import { build, emptyDir } from "@deno/dnt";23await emptyDir("./npm");45await build({6 entryPoints: ["./mod.ts"],7 outDir: "./npm",8 shims: {9 10 deno: true,11 },12 package: {13 14 name: "jrsonnet",15 version: Deno.args[0],16 description: "Jrsonnet.",17 license: "MIT",18 repository: {19 type: "git",20 url: "git+https://github.com/CertainLach/jrsonnet.git",21 },22 bugs: {23 url: "https://github.com/CertainLach/jrsonnet/issues",24 },25 },26 postBuild() {27 Deno.copyFileSync("../../LICENSE", "npm/LICENSE");28 },29});