Skip to content

Commit 19862f8

Browse files
committed
Patch: added module field to package json file
1 parent 15e73c5 commit 19862f8

File tree

3 files changed

+8
-21
lines changed

3 files changed

+8
-21
lines changed

.npmignore

Lines changed: 0 additions & 16 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,8 @@ React UI library to design and render seat layouts. The library is still under a
7474
- **Preview**: Preview the layout in a separate window 🛠️
7575

7676
- **Designer mode and User mode**: Switch between designer and user mode to enable or disable customization 🛠️
77-
- Designer mode: Enable customization
78-
- User mode: Disable customization
79-
- Add callback functions to handle seat selection
8077

81-
- **Override styles**: Override the default styles to match your application's theme 🛠️
78+
- **Custom styles**: Override the default styles to match your application's theme 🛠️
8279

8380
## Installation
8481

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.1.0",
44
"description": "React UI library to design and render seat layouts",
55
"main": "dist/index.js",
6+
"module": "dist/index.js",
67
"private": false,
78
"exports": {
89
".": "./dist/index.js",
@@ -20,6 +21,11 @@
2021
"release": "bunx github:akalanka47000/bunpublish --tag=${TAG:=latest} --provenance",
2122
"test": "echo \"Error: no test specified\" && exit 1"
2223
},
24+
"files": [
25+
"dist",
26+
"package.json",
27+
"README.md"
28+
],
2329
"keywords": [
2430
"Designer",
2531
"Seats",
@@ -103,4 +109,4 @@
103109
"overrides": {
104110
"jsondiffpatch": "^0.5.0"
105111
}
106-
}
112+
}

0 commit comments

Comments
 (0)