-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: ignore TextDecoder warning, editor formatting
- Loading branch information
Showing
2 changed files
with
65 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,25 +3,25 @@ import { build, emptyDir } from "@deno/dnt"; | |
await emptyDir("./npm"); | ||
|
||
await build({ | ||
entryPoints: ["./index.ts"], | ||
outDir: "./npm", | ||
shims: { | ||
// see JS docs for overview and more options | ||
entryPoints: ["./index.ts"], | ||
outDir: "./npm", | ||
shims: { | ||
// see JS docs for overview and more options | ||
}, | ||
package: { | ||
// package.json properties | ||
name: "@dylibso/xtp-test", | ||
version: Deno.args[0], | ||
description: "XTP test harness", | ||
license: "BSD-3-Clause", | ||
bugs: { | ||
email: "[email protected]", | ||
}, | ||
package: { | ||
// package.json properties | ||
name: "@dylibso/xtp-test", | ||
version: Deno.args[0], | ||
description: "XTP test harness", | ||
license: "BSD-3-Clause", | ||
bugs: { | ||
email: "[email protected]" | ||
}, | ||
}, | ||
test: false, | ||
postBuild() { | ||
// steps to run after building and before running the tests | ||
Deno.copyFileSync("LICENSE", "npm/LICENSE"); | ||
Deno.copyFileSync("README.md", "npm/README.md"); | ||
}, | ||
}); | ||
}, | ||
test: false, | ||
postBuild() { | ||
// steps to run after building and before running the tests | ||
Deno.copyFileSync("LICENSE", "npm/LICENSE"); | ||
Deno.copyFileSync("README.md", "npm/README.md"); | ||
}, | ||
}); |