Skip to content

Commit bb5c17a

Browse files
committed
fix: Add exports to the package.json
1 parent 39ab856 commit bb5c17a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

package.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "liteque",
44
"description": "A sqlite-based job queue for Node.js",
55
"author": "Mohamed Bassem <[email protected]>",
6-
"version": "0.3.0",
6+
"version": "0.3.1",
77
"type": "module",
88
"main": "dist/index.js",
99
"types": "dist/index.d.ts",
@@ -12,6 +12,16 @@
1212
"README.md",
1313
"LICENSE"
1414
],
15+
"exports": {
16+
".": {
17+
"types": "./dist/index.d.ts",
18+
"import": "./dist/index.js"
19+
}
20+
},
21+
"sideEffects": false,
22+
"engines": {
23+
"node": ">=21"
24+
},
1525
"license": "MIT",
1626
"repository": {
1727
"type": "git",

0 commit comments

Comments
 (0)