-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dnt.ts
53 lines (53 loc) · 1.2 KB
/
.dnt.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import {
getMetadataFromConfig,
invokeDenoNodeJSTransformer
} from "DNT";
const configJSR = await getMetadataFromConfig("jsr.jsonc");
await invokeDenoNodeJSTransformer({
assetsCopy: [
"LICENSE.md",
"README.md"
],
entrypoints: configJSR.getExports(),
generateDeclarationMap: true,
mappings: {
"https://raw.githubusercontent.com/hugoalh/http-header-link-es/v1.0.3/mod.ts": {
name: "@hugoalh/http-header-link",
version: "^1.0.3"
},
"https://raw.githubusercontent.com/hugoalh/http-header-retry-after-es/v1.1.0/mod.ts": {
name: "@hugoalh/http-header-retry-after",
version: "^1.1.0"
}
},
metadata: {
name: configJSR.getName(),
version: configJSR.getVersion(),
description: "A module to extend `fetch`.",
keywords: [
"exfetch",
"fetch"
],
homepage: "https://github.com/hugoalh/exfetch-es#readme",
bugs: {
url: "https://github.com/hugoalh/exfetch-es/issues"
},
license: "MIT",
author: "hugoalh",
repository: {
type: "git",
url: "git+https://github.com/hugoalh/exfetch-es.git"
},
scripts: {
},
engines: {
node: ">=18.12.0"
},
private: false,
publishConfig: {
access: "public"
}
},
outputDirectory: "npm",
outputDirectoryPreEmpty: true
});