From 8b4584eb489a31699874fbe6d7e4dc558ec8dd8a Mon Sep 17 00:00:00 2001 From: Tangent Wantwight Date: Fri, 4 Aug 2023 23:54:52 -0400 Subject: [PATCH] Reorganize files for TS conversion --- package.json | 4 ++-- 3x5.js => src/3x5.ts | 0 helpers.js => src/helpers.ts | 0 notcl.js => src/notcl.ts | 0 peg.js => src/peg.ts | 0 jsconfig.json => tsconfig.json | 0 6 files changed, 2 insertions(+), 2 deletions(-) rename 3x5.js => src/3x5.ts (100%) rename helpers.js => src/helpers.ts (100%) rename notcl.js => src/notcl.ts (100%) rename peg.js => src/peg.ts (100%) rename jsconfig.json => tsconfig.json (100%) diff --git a/package.json b/package.json index de5d017..3ad8db2 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "scripts": { "check": "tsc --noEmit", - "serve": "esbuild 3x5.js --bundle --format=iife --outfile=bundle.js --sourcemap --servedir=.", - "build": "esbuild 3x5.js --bundle --format=iife --outfile=bundle.js" + "serve": "esbuild src/3x5.ts --bundle --format=iife --outfile=bundle.js --sourcemap --servedir=.", + "build": "esbuild src/3x5.ts --bundle --format=iife --outfile=bundle.js" }, "devDependencies": { "esbuild": "^0.18.17", diff --git a/3x5.js b/src/3x5.ts similarity index 100% rename from 3x5.js rename to src/3x5.ts diff --git a/helpers.js b/src/helpers.ts similarity index 100% rename from helpers.js rename to src/helpers.ts diff --git a/notcl.js b/src/notcl.ts similarity index 100% rename from notcl.js rename to src/notcl.ts diff --git a/peg.js b/src/peg.ts similarity index 100% rename from peg.js rename to src/peg.ts diff --git a/jsconfig.json b/tsconfig.json similarity index 100% rename from jsconfig.json rename to tsconfig.json