From e6ffec58bca1c130fe55cdeb7018c7cb4b76d394 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Tue, 23 Apr 2024 16:09:16 -0400 Subject: [PATCH] fix: support older node versions fixes #1936 --- bin/{ts-json-schema-generator => ts-json-schema-generator.js} | 0 package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename bin/{ts-json-schema-generator => ts-json-schema-generator.js} (100%) diff --git a/bin/ts-json-schema-generator b/bin/ts-json-schema-generator.js similarity index 100% rename from bin/ts-json-schema-generator rename to bin/ts-json-schema-generator.js diff --git a/package.json b/package.json index df69f86af..7546422d3 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "type": "module", "bin": { - "ts-json-schema-generator": "./bin/ts-json-schema-generator" + "ts-json-schema-generator": "./bin/ts-json-schema-generator.js" }, "files": [ "dist",