Skip to content

Commit cc622b1

Browse files
committed
fix: improve hybrid exports
1 parent 32f169a commit cc622b1

File tree

1 file changed

+24
-18
lines changed

1 file changed

+24
-18
lines changed

packages/multiple-select-vanilla/package.json

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
{
22
"name": "multiple-select-vanilla",
3+
"description": "This lib allows you to select multiple elements with checkboxes",
34
"version": "3.3.3",
4-
"types": "dist/index.d.ts",
5-
"exports": {
6-
".": {
7-
"types": "./dist/index.d.ts",
8-
"import": "./dist/multiple-select.js",
9-
"require": "./dist/multiple-select.cjs",
10-
"node": "./dist/multiple-select.cjs"
11-
},
12-
"./dist/browser/*": "./dist/browser/*",
13-
"./dist/locales/*": "./dist/locales/*",
14-
"./dist/styles/*": "./dist/styles/*",
15-
"./package.json": "./package.json"
16-
},
17-
"module": "./dist/multiple-select.js",
18-
"main": "./dist/multiple-select.cjs",
5+
"keywords": [
6+
"checkboxes",
7+
"multiple-select",
8+
"single-select",
9+
"select"
10+
],
1911
"author": {
2012
"name": "zhixin wen",
2113
"email": "[email protected]",
@@ -27,15 +19,29 @@
2719
}
2820
],
2921
"homepage": "https://github.com/ghiscoding/multiple-select-vanilla",
30-
"bugs": {
31-
"url": "https://github.com/ghiscoding/multiple-select-vanilla/issues"
32-
},
3322
"license": "MIT",
23+
"main": "./dist/multiple-select.cjs",
24+
"module": "./dist/multiple-select.js",
25+
"types": "dist/index.d.ts",
26+
"exports": {
27+
".": {
28+
"types": "./dist/index.d.ts",
29+
"import": "./dist/multiple-select.js",
30+
"require": "./dist/multiple-select.cjs"
31+
},
32+
"./dist/browser/*": "./dist/browser/*",
33+
"./dist/locales/*": "./dist/locales/*",
34+
"./dist/styles/*": "./dist/styles/*",
35+
"./package.json": "./package.json"
36+
},
3437
"repository": {
3538
"type": "git",
3639
"url": "https://github.com/ghiscoding/multiple-select-vanilla.git",
3740
"directory": "packages/multiple-select-vanilla"
3841
},
42+
"bugs": {
43+
"url": "https://github.com/ghiscoding/multiple-select-vanilla/issues"
44+
},
3945
"publishConfig": {
4046
"access": "public"
4147
},

0 commit comments

Comments
 (0)