From 6d1723630d893c0af1339c58cfc374830502ad81 Mon Sep 17 00:00:00 2001 From: rawpixel-vincent Date: Thu, 14 Mar 2024 16:35:29 +0700 Subject: [PATCH] add export for main --- package-lock.json | 4 ++-- package.json | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7bc9fc1..3b6af8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "string-literal-list", - "version": "1.15.0", + "version": "1.16.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "string-literal-list", - "version": "1.15.0", + "version": "1.16.0", "license": "MIT", "dependencies": { "core-js": "latest", diff --git a/package.json b/package.json index ff67e80..4990097 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "string-literal-list", - "version": "1.15.0", + "version": "1.16.0", "description": "an array for string literal", "main": "stringList.js", "types": "stringList.d.ts", @@ -16,6 +16,10 @@ "./types.js": { "import": "./types/index.js", "require": "./types/index.js" + }, + "./stringList.js": { + "import": "./stringList.js", + "require": "./stringList.cjs" } }, "engines": {