update instancejson more

MY HEAD HURTS NOW ;(

.

.

more work

Finish rewrite

all finished
This commit is contained in:
MathMan05 2024-09-16 19:11:05 -05:00 committed by Scott Gould
parent 3a61417de2
commit 758bd7cc7a
No known key found for this signature in database
113 changed files with 12520 additions and 20427 deletions

34
gulpfile.cjs Normal file
View file

@ -0,0 +1,34 @@
const gulp = require("gulp");
const ts = require("gulp-typescript");
const tsProject = ts.createProject("tsconfig.json");
// Task to compile TypeScript files
gulp.task("scripts", () => {
return tsProject.src().pipe(tsProject()).js.pipe(gulp.dest("dist"));
});
// Task to copy HTML files
gulp.task("copy-html", () => {
return gulp.src("src/**/*.html").pipe(gulp.dest("dist"));
});
// Task to copy other static assets (e.g., CSS, images)
gulp.task("copy-assets", () => {
return gulp
.src([
"src/**/*.css",
"src/**/*.bin",
"src/**/*.ico",
"src/**/*.json",
"src/**/*.js",
"src/**/*.png",
"src/**/*.jpg",
"src/**/*.jpeg",
"src/**/*.gif",
"src/**/*.svg",
])
.pipe(gulp.dest("dist"));
});
// Default task to run all tasks
gulp.task("default", gulp.series("scripts", "copy-html", "copy-assets"));