-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.github-npm.build.ts
More file actions
40 lines (40 loc) · 1010 Bytes
/
.github-npm.build.ts
File metadata and controls
40 lines (40 loc) · 1010 Bytes
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
32
33
34
35
36
37
38
39
40
import { invokeDenoNodeJSTransformer } from "DNT";
import { parse as parseJSONC } from "STD_JSONC";
const jsrManifest = parseJSONC(await Deno.readTextFile("./jsr.jsonc"));
await invokeDenoNodeJSTransformer({
copyEntries: [
"LICENSE.md",
"README.md"
],
//@ts-ignore Lazy type.
entrypointsScript: jsrManifest.exports,
generateDeclarationMap: true,
metadata: {
//@ts-ignore Lazy type.
name: jsrManifest.name,
//@ts-ignore Lazy type.
version: jsrManifest.version,
description: "A module to iterate between range.",
keywords: [
"range",
"iterate",
"iterator"
],
homepage: "https://github.com/hugoalh/range-iterator-es#readme",
bugs: {
url: "https://github.com/hugoalh/range-iterator-es/issues"
},
license: "MIT",
author: "hugoalh",
repository: {
type: "git",
url: "git+https://github.com/hugoalh/range-iterator-es.git"
},
private: false,
publishConfig: {
access: "public"
}
},
outputDirectory: "dist/github-npm",
outputDirectoryPreEmpty: true
});