deno.land / x / gesso@v0.1.2 / scripts / build_npm.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
30
31
import { build, emptyDir } from "https://deno.land/x/dnt/mod.ts";
await emptyDir("./npm");
await build({ entryPoints: ["./src/mod.ts"], outDir: "./npm", shims: { // see JS docs for overview and more options deno: true, undici: true, }, package: { // package.json properties name: "gesso-canvas-api", version: Deno.args[0], description: "An ESM library for the Canvas LMS REST API", license: "MIT", repository: { type: "git", url: "git+https://github.com/Peekoe/Gesso.git", }, bugs: { url: "https://github.com/Peekoe/Gessp/issues", }, },});
// post build stepsDeno.copyFileSync("README.md", "npm/README.md");
gesso

Version Info

Tagged at
a year ago