40 lines
1 KiB
TypeScript
40 lines
1 KiB
TypeScript
import { invokeDenoNodeJSTransformer } from "DNT";
|
|
import { parse as parseJSONC } from "STD_JSONC";
|
|
const jsrManifest = parseJSONC(await Deno.readTextFile(new URL(import.meta.resolve("./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://git.kaki87.net/hugoalh/range-iterator-es#readme",
|
|
bugs: {
|
|
url: "https://git.kaki87.net/hugoalh/range-iterator-es/issues"
|
|
},
|
|
license: "MIT",
|
|
author: "hugoalh",
|
|
repository: {
|
|
type: "git",
|
|
url: "git+https://git.kaki87.net/hugoalh/range-iterator-es.git"
|
|
},
|
|
private: false,
|
|
publishConfig: {
|
|
access: "public"
|
|
}
|
|
},
|
|
outputDirectory: "dist/npm-kaki87",
|
|
outputDirectoryPreEmpty: true
|
|
});
|