Corrected ES6 Module and CommonJS entry points

This commit is contained in:
Ben Ashton 2021-03-01 22:57:51 -08:00
parent 7b9095ffa6
commit c7ee992ee7

View File

@ -1,8 +1,9 @@
{ {
"name": "pawsqlite", "name": "PawSQLite",
"version": "1.0.0", "version": "1.0.0",
"description": "An SQLite interface with adapters for Cordova and WebSQL", "description": "An SQLite interface with adapters for Cordova and WebSQL",
"main": "./src/pawsqlite.mjs", "main": "./lib/PawSQLite.js",
"module": "./src/pawsqlite.mjs",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack" "build": "webpack"