Skip to content

Commit b54b7be

Browse files
committed
update
1 parent 731e50d commit b54b7be

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

package.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "tab",
33
"version": "0.0.0",
44
"description": "",
5-
"main": "index.js",
5+
"main": "./dist/index.js",
6+
"types": "./dist/index.d.ts",
67
"type": "module",
78
"scripts": {
89
"test": "vitest",
@@ -31,9 +32,21 @@
3132
"mri": "^1.2.0"
3233
},
3334
"exports": {
34-
".": "./dist/index.js",
35-
"./citty": "./dist/citty.js",
36-
"./cac": "./dist/cac.js"
35+
".": {
36+
"import": "./dist/index.js",
37+
"require": "./dist/index.cjs",
38+
"types": "./dist/index.d.ts"
39+
},
40+
"./citty": {
41+
"import": "./dist/citty.js",
42+
"require": "./dist/citty.cjs",
43+
"types": "./dist/citty.d.ts"
44+
},
45+
"./cac": {
46+
"import": "./dist/cac.js",
47+
"require": "./dist/cac.cjs",
48+
"types": "./dist/cac.d.ts"
49+
}
3750
},
3851
"packageManager": "[email protected]+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
3952
}

0 commit comments

Comments
 (0)