+9
-4
| { | ||
| "name": "rswitch", | ||
| "description": "The rswitch library provides a compact and flexible way to implement switch-like functionality in JavaScript. It allows you to define cases and their corresponding actions using an object literal syntax.", | ||
| "version": "0.2.0", | ||
| "version": "0.3.0", | ||
| "author": "Rashed Iqbal", | ||
@@ -11,5 +11,10 @@ "files": [ | ||
| ".": { | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/rswitch.es.js", | ||
| "require": "./dist/rswitch.umd.js" | ||
| "import": { | ||
| "types": "./dist/index.d.ts", | ||
| "default": "./dist/rswitch.es.js" | ||
| }, | ||
| "require": { | ||
| "types": "./dist/index.d.ts", | ||
| "default": "./dist/rswitch.umd.js" | ||
| } | ||
| } | ||
@@ -16,0 +21,0 @@ }, |
4200
2.51%