From 2f799477e9cf1f6e9c67ef9796cd8cb9ec7d3acf Mon Sep 17 00:00:00 2001 From: Mark Stosberg Date: Mon, 30 Jan 2017 20:58:48 -0500 Subject: [PATCH] chore(package): refactor remove unnecessary "index.js" module. The "main" keyword in package.json takes care of pointing to the entry point to the module. It was previously pointing to a non-existent file and thus not working. "main" was updated to point to the true entry point in ./lib/index.js, rendering the shell file of "./index.js" unnecessary. --- index.js | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 index.js diff --git a/index.js b/index.js deleted file mode 100644 index bb0a047..0000000 --- a/index.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./lib'); diff --git a/package.json b/package.json index 742926f..1e593b9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "dme-sdk", "version": "1.1.5", "description": "This module allows one to connect to DNSMadeEasy's APIs (V2.0)", - "main": "lib/dnsmadeeasy.js", + "main": "lib/index.js", "dependencies": { "bluebird": "3.0.5", "lodash": "3.10.1",