From 19862f83615f7eae15a469ec938007e3aa02163a Mon Sep 17 00:00:00 2001 From: Akalanka Perera Date: Sat, 24 Feb 2024 20:26:42 +0530 Subject: [PATCH] Patch: added module field to package json file --- .npmignore | 16 ---------------- README.md | 5 +---- package.json | 8 +++++++- 3 files changed, 8 insertions(+), 21 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 786e6af..0000000 --- a/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -.cache/ -.storybook/ -.prettier* -.eslint* -src/ -test/ -coverage/ -node_modules/ -patches/ -storybook-static/ -esbuild.config.js -jsconfig.json -commitlint.config.js -postcss.config.js -tailwind.config.js -lefthook.yml \ No newline at end of file diff --git a/README.md b/README.md index 0ac3084..e9b6463 100644 --- a/README.md +++ b/README.md @@ -74,11 +74,8 @@ React UI library to design and render seat layouts. The library is still under a - **Preview**: Preview the layout in a separate window 🛠️ - **Designer mode and User mode**: Switch between designer and user mode to enable or disable customization 🛠️ - - Designer mode: Enable customization - - User mode: Disable customization - - Add callback functions to handle seat selection -- **Override styles**: Override the default styles to match your application's theme 🛠️ +- **Custom styles**: Override the default styles to match your application's theme 🛠️ ## Installation diff --git a/package.json b/package.json index 04ff843..3fc2ef5 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "description": "React UI library to design and render seat layouts", "main": "dist/index.js", + "module": "dist/index.js", "private": false, "exports": { ".": "./dist/index.js", @@ -20,6 +21,11 @@ "release": "bunx github:akalanka47000/bunpublish --tag=${TAG:=latest} --provenance", "test": "echo \"Error: no test specified\" && exit 1" }, + "files": [ + "dist", + "package.json", + "README.md" + ], "keywords": [ "Designer", "Seats", @@ -103,4 +109,4 @@ "overrides": { "jsondiffpatch": "^0.5.0" } -} +} \ No newline at end of file