From c40a314f724c46047bc7377b31b6bd85ebe5890e Mon Sep 17 00:00:00 2001 From: Alexis Date: Tue, 31 Aug 2021 07:42:26 +0930 Subject: [PATCH] chore: convert .scripts to cjs --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f4bfff8a6..585a21e77 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@unraid/api", "version": "2.24.0", - "main": "dist/index.js", + "main": "dist/index.cjs", "repository": "git@github.com:unraid/api.git", "author": "Alexis Tyler (https://wvvw.me/)", "license": "UNLICENSED", @@ -25,7 +25,7 @@ "cover:unit": "nyc --silent npm run test", "cover:report": "nyc report --reporter=lcov --reporter=text", "patch": "npm-run-all patch:**", - "patch:subscriptions-transport-ws": "node ./.scripts/patches/subscriptions-transport-ws.js", + "patch:subscriptions-transport-ws": "node ./.scripts/patches/subscriptions-transport-ws.cjs", "release": "standard-version", "update-bundle-dependencies": "bundle-dependencies update" },