Skip to content

Commit fbcb21f

Browse files
committed
chore: fix export map
1 parent 39a8e37 commit fbcb21f

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
"name": "@jcoreio/require-env",
33
"version": "0.0.0-development",
44
"description": "get value of an environment variable; throw if undefined or empty string",
5+
"main": "./dist/index.js",
6+
"module": "./dist/index.mjs",
7+
"exports": {
8+
"./package.json": "./dist/package.json",
9+
".": {
10+
"types": {
11+
"import": "./dist/index.d.mts",
12+
"default": "./dist/index.d.ts"
13+
},
14+
"import": "./dist/index.mjs",
15+
"default": "./dist/index.js"
16+
}
17+
},
518
"scripts": {
619
"tc": "toolchain",
720
"toolchain": "toolchain",
@@ -41,7 +54,7 @@
4154
"nyc": "^15.1.0",
4255
"prettier": "^3.4.2",
4356
"sinon": "^7.4.2",
44-
"typescript": "^5.1.0"
57+
"typescript": "^5.9.2"
4558
},
4659
"sideEffects": false,
4760
"engines": {

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)