From c7ee992ee7bd2fcc19c3393e5d1525122029de9d Mon Sep 17 00:00:00 2001 From: Ben Ashton Date: Mon, 1 Mar 2021 22:57:51 -0800 Subject: [PATCH] Corrected ES6 Module and CommonJS entry points --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index be8a74a..0f19e90 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { - "name": "pawsqlite", + "name": "PawSQLite", "version": "1.0.0", "description": "An SQLite interface with adapters for Cordova and WebSQL", - "main": "./src/pawsqlite.mjs", + "main": "./lib/PawSQLite.js", + "module": "./src/pawsqlite.mjs", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "webpack"