From 79a3f9ae62f31196561ff28584b55d3efb0f6c25 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 7 Jul 2023 08:32:37 -0400 Subject: [PATCH] refactor: add presetter-preset-hybrid preset --- .presetterrc.json | 3 ++- npm-shrinkwrap.json | 3 ++- package.json | 11 ++++++++++- 3 files changed, 14 insertions(+), 3 deletions(-) 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",