Skip to content

Commit 24c1eaa

Browse files
committed
Updated type export
1 parent 2029771 commit 24c1eaa

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

package.json

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,35 @@
11
{
22
"name": "lup-utils",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"description": "NodeJS library providing utility functions.",
55
"main": "./lib/index",
66
"types": "./lib/index.d.ts",
77
"files": [ "lib/**/*" ],
88
"exports": {
9-
".": "./lib/index.js",
10-
"./json": "./lib/json.js",
11-
"./objects": "./lib/objects.js",
12-
"./string": "./lib/string.js",
13-
"./terminal": "./lib/terminal.js",
14-
"./utils": "./lib/utils.js"
9+
".": {
10+
"types": "./lib/index.d.ts",
11+
"default": "./lib/index.js"
12+
},
13+
"./json": {
14+
"types": "./lib/json.d.ts",
15+
"default": "./lib/json.js"
16+
},
17+
"./objects": {
18+
"types": "./lib/objects.d.ts",
19+
"default": "./lib/objects.js"
20+
},
21+
"./string": {
22+
"types": "./lib/string.d.ts",
23+
"default": "./lib/string.js"
24+
},
25+
"./terminal": {
26+
"types": "./lib/terminal.d.ts",
27+
"default": "./lib/terminal.js"
28+
},
29+
"./utils": {
30+
"types": "./lib/utils.d.ts",
31+
"default": "./lib/utils.js"
32+
}
1533
},
1634
"scripts": {
1735
"test": "jest --config jestconfig.json",

0 commit comments

Comments
 (0)