Skip to content

Commit

Permalink
fix: exports, types and main now point correctly to the compiler output
Browse files Browse the repository at this point in the history
  • Loading branch information
scnale committed Dec 7, 2023
1 parent cb4faeb commit bf11a61
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.3.2",
"description": "Relayer Engine",
"type": "module",
"main": "lib/cjs/index.js",
"types": "lib/cjs/index.d.ts",
"main": "lib/cjs/relayer/index.js",
"types": "lib/cjs/relayer/index.d.ts",
"scripts": {
"redis": "docker run --rm -p 6379:6379 --name redis-docker -d redis",
"test-redis": "docker run --rm -p 6301:6379 --name relayer-engine-test -d redis; npm run test; docker kill relayer-engine-test",
Expand All @@ -20,14 +20,14 @@
},
"exports": {
".": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js",
"default": "./lib/esm/index.js"
"require": "./lib/cjs/relayer/index.js",
"import": "./lib/esm/relayer/index.js",
"default": "./lib/esm/relayer/index.js"
},
"./*": {
"require": "./lib/cjs/*.js",
"import": "./lib/esm/*.js",
"default": "./lib/esm/*.js"
"require": "./lib/cjs/relayer/*.js",
"import": "./lib/esm/relayer/*.js",
"default": "./lib/esm/relayer/*.js"
}
},
"author": "Joe Howarth, xLabs Inc.",
Expand Down

0 comments on commit bf11a61

Please sign in to comment.