-
Notifications
You must be signed in to change notification settings - Fork 0
/
dht.ts
56 lines (54 loc) · 1.42 KB
/
dht.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
54
55
56
import { build, emptyDir } from "jsr:@deno/dnt@^0.41.1";
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: "@fns-run/fns",
version: Deno.args[0],
description:
"Fns is the React for backend development, making serverless functions invincible. It offers a zero-infrastructure platform with reliable execution, signal handling, all with built-in observability.",
license: "Apache-2.0",
homepage: "https://github.com/fns-run/fns",
repository: {
type: "git",
url: "git+https://github.com/fns-run/fns.git",
},
bugs: {
url: "https://github.com/fns-run/fns/issues",
},
keywords: [
"cloud",
"microservices",
"typescript",
"sdk",
"serverless",
"backend",
"functions",
"scalability",
"reliability",
"react-style",
"edge",
"developer-tools",
"event-driven",
"observability",
"signal-handling",
"queue-management",
"durable-execution",
"zero-infrastructure",
],
devDependencies: {
"@types/express": "^4.17.15",
},
},
postBuild() {
// steps to run after building and before running the tests
Deno.copyFileSync("LICENSE", "npm/LICENSE");
Deno.copyFileSync("README.md", "npm/README.md");
},
});