1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 11:58:13 +00:00

chore: repo cleanup

This commit is contained in:
James Cook 2023-09-17 17:42:33 +01:00
parent 8a11040524
commit c006fa2653
5 changed files with 15 additions and 13 deletions

View file

@ -1,4 +1,4 @@
import { build, emptyDir } from "https://deno.land/x/dnt@0.38.1/mod.ts";
import { build, emptyDir } from "~/deps_dev.ts";
if (!Deno.args[0]) throw new Error("No version specified");
@ -23,13 +23,12 @@ await build({
},
typeCheck: "both",
package: {
// package.json properties
name: "classcharts-api",
version: String(Deno.args[0]).replace("v", ""),
author: {
name: "James Cook",
email: "james@jaminit.co.uk",
},
version: String(Deno.args[0]).replace("v", ""),
description:
"A Typescript wrapper for getting information from the ClassCharts API",
license: "ISC",
@ -48,7 +47,6 @@ await build({
sideEffects: false,
},
postBuild() {
// steps to run after building and before running the tests
Deno.copyFileSync("LICENSE", "npm/LICENSE");
Deno.copyFileSync("README.md", "npm/README.md");
},