From a9041d4d0db1bd55be97acd4dffd57c045016e9c Mon Sep 17 00:00:00 2001 From: atjn Date: Thu, 6 May 2021 09:50:22 +0200 Subject: [PATCH] Follow export best-practices --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 305ab9f..94fda17 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,10 @@ "version": "3.0.1", "description": "Get the size of a folder by iterating through its sub-files and -folders.", "type": "module", - "main": "index.js", + "main": "./index.js", + "exports": "./index.js", "bin": { - "get-folder-size": "bin/get-folder-size.js" + "get-folder-size": "./bin/get-folder-size.js" }, "files": [ "index.js",