Skip to main content
Module

x/discordeno/dnt.ts

Discord API library for Deno
Go to Latest
File
import { build } from "https://deno.land/x/dnt@0.6.0/mod.ts";import { DISCORDENO_VERSION } from "./mod.ts";
await Deno.remove("npm", { recursive: true }).catch((_) => {});
await build({ entryPoints: ["./mod.ts"], outDir: "./npm", typeCheck: false, declaration: true, test: false, package: { name: "discordeno", version: DISCORDENO_VERSION, }, compilerOptions: { target: "ES2020" },});
// post build stepsDeno.copyFileSync("LICENSE", "npm/LICENSE");Deno.copyFileSync("README.md", "npm/README.md");