From 69a995548f43395cb2d25da9aff1248bfce74b30 Mon Sep 17 00:00:00 2001 From: urielch Date: Fri, 6 Sep 2024 12:13:16 +0200 Subject: [PATCH] no index.js exists in tsfn-test, and tsfn_object_wrap.js never exists, so move it ad a loopscript --- .../node-addon-api/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/6-threadsafe-function/thread_safe_function_with_object_wrap/node-addon-api/package.json b/src/6-threadsafe-function/thread_safe_function_with_object_wrap/node-addon-api/package.json index 201cfdf9..5b54d432 100644 --- a/src/6-threadsafe-function/thread_safe_function_with_object_wrap/node-addon-api/package.json +++ b/src/6-threadsafe-function/thread_safe_function_with_object_wrap/node-addon-api/package.json @@ -2,10 +2,12 @@ "name": "tsfn-test", "version": "1.0.0", "description": "", - "main": "index.js", "author": "", "dependencies": { "bindings": "*", "node-addon-api": "^7.0.0" + }, + "scripts": { + "looptest": "node tsfn_object_wrap.js" } }