From 5f6b16d08002bf61ee5d9159bb0c8d483448902d Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 25 Feb 2024 17:59:45 +1300 Subject: [PATCH 1/3] add build and start scripts --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index e3f3463..5475e7e 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,8 @@ "description": "", "main": "index.js", "scripts": { + "build": "tsc", + "start": "npm run build && cd src && node .", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], From 7eca866e4876b481f942e26c68a5ef6664498aa2 Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 25 Feb 2024 18:04:32 +1300 Subject: [PATCH 2/3] remove unneeded test script --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 5475e7e..0dcfaa6 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ "main": "index.js", "scripts": { "build": "tsc", - "start": "npm run build && cd src && node .", - "test": "echo \"Error: no test specified\" && exit 1" + "start": "npm run build && cd src && node ." }, "keywords": [], "author": "", From ab916d7a919910fbcb8b03b29baca9d10541c706 Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 25 Feb 2024 18:06:02 +1300 Subject: [PATCH 3/3] switch to spaces --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0dcfaa6..d20ae5b 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "", "main": "index.js", "scripts": { - "build": "tsc", - "start": "npm run build && cd src && node ." + "build": "tsc", + "start": "npm run build && cd src && node ." }, "keywords": [], "author": "",