deno.land / x / clazzx@0.0.2 / src / build.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// ex. scripts/build_npm.tsimport { build, emptyDir } from "https://deno.land/x/dnt/mod.ts";
await emptyDir("./npm");
await build({ entryPoints: ["./mod.ts"], outDir: "./npm", shims: { // see JS docs for overview and more options deno: true, }, package: { // package.json properties 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,});
// post build stepsDeno.copyFileSync("LICENSE", "npm/LICENSE");Deno.copyFileSync("README.md", "npm/README.md");
clazzx

Version Info

Tagged at
a year ago