From 647b70c6d7f46b00595c63a9f06983fc6b866f12 Mon Sep 17 00:00:00 2001 From: Tachibana waita Date: Sun, 18 Feb 2024 07:13:27 +0900 Subject: [PATCH] Build statCollectorWorker.ts in npm run all (#50) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 004e295..200ce19 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "package:main": "ncc build --source-map src/main.ts --out dist/main", "package:post": "ncc build --source-map src/post.ts --out dist/post", "package:statCollector": "ncc build --source-map src/statCollector.ts --out dist/sc", - "package": "npm run package:main && npm run package:post && npm run package:statCollector", + "package:statCollectorWorker": "ncc build --source-map src/statCollectorWorker.ts --out dist/scw", + "package": "npm run package:main && npm run package:post && npm run package:statCollector && npm run package:statCollectorWorker", "test": "echo \"Warn: no test specified\" && exit 0", "all": "npm run format-check && npm run lint && npm run build && npm run package && npm test" },