Browse Source

Added exports field

master
Ben Ashton 3 years ago
parent
commit
4293e380dd
  1. 4
      package.json

4
package.json

@ -3,6 +3,10 @@
"version": "1.0.0",
"description": "An SQLite interface with adapters for Cordova and WebSQL",
"main": "./lib/pawsqlite.js",
"exports": {
"import": "./src/pawsqlite.mjs",
"require": "./lib/pawsqlite.js"
},
"module": "./src/pawsqlite.mjs",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",

Loading…
Cancel
Save