diff --git a/.presetterrc.json b/.presetterrc.json index 262ee29..65ecb90 100644 --- a/.presetterrc.json +++ b/.presetterrc.json @@ -1,5 +1,6 @@ { "preset": [ + "presetter-preset-hybrid", "@lumeweb/node-library-preset" ] -} \ No newline at end of file +} diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 09dd2ee..f88d8a9 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -18,7 +18,8 @@ "eventemitter2": "^6.4.9", "fastify": "^4.19.2", "node-cache": "^5.1.2", - "presetter": "*" + "presetter": "*", + "presetter-preset-hybrid": "^4.0.1" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 40ed835..0a1a98b 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,14 @@ "main": "lib/index.js", "type": "module", "types": "lib/index.d.ts", + "module": "lib/index.mjs", + "exports": { + ".": { + "require": "./lib/index.js", + "import": "./lib/index.mjs" + }, + "./package.json": "./package.json" + }, "repository": { "type": "git", "url": "gitea@git.lumeweb.com:LumeWeb/interface-relay.git" @@ -16,7 +24,8 @@ "eventemitter2": "^6.4.9", "fastify": "^4.19.2", "node-cache": "^5.1.2", - "presetter": "*" + "presetter": "*", + "presetter-preset-hybrid": "^4.0.1" }, "readme": "ERROR: No README data found!", "_id": "@lumeweb/interface-relay@0.1.0",