From 72b4ca67e43f4b78375b4c320822aa8e9c357cac Mon Sep 17 00:00:00 2001 From: chentsulin Date: Tue, 1 Nov 2022 17:44:50 +0800 Subject: [PATCH] 1.0.6 --- package-lock.json | 2 +- package.json | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1737d8e..c3d4208 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-d3-cloud", - "version": "1.0.5", + "version": "1.0.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5ef39e0..94f2a12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-d3-cloud", - "version": "1.0.5", + "version": "1.0.6", "description": "A word cloud component using d3-cloud", "license": "MIT", "author": "cph", @@ -9,6 +9,10 @@ "bugs": { "url": "https://github.com/Yoctol/react-d3-cloud/issues" }, + "exports": { + "import": "./lib/esm/index.js", + "require": "./lib/index.js" + }, "main": "lib/index.js", "scripts": { "build": "npm run clean && npm run build:cjs && npm run build:esm", @@ -86,9 +90,5 @@ "d3", "react", "word-cloud" - ], - "exports": { - "import": "./lib/esm/index.js", - "require": "./lib/index.js" - } + ] }