git.delta.rocks / jrsonnet / refs/commits / db1fd8f12920

difftreelog

source

bindings/jrsonnet-web/scripts/build_npm.ts588 Bsourcehistory
1import { build, emptyDir } from "@deno/dnt";23await emptyDir("./npm");45await build({6	entryPoints: ["./mod.ts"],7	outDir: "./npm",8	shims: {9		// see JS docs for overview and more options10		deno: true,11	},12	package: {13		// package.json properties14		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});