From 6527c9ff8109c26a7d76faf067be8076505a3c01 Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 13 Jan 2020 10:57:12 +0800 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20=E6=89=93=E5=8C=85=E5=B0=9D?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4a7b1ab011..f27057531b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "fineui", "version": "2.0.0", "description": "fineui", - "main": "typescript/index.ts", + "main": "dist/fineui.min.js", + "types": "dist/lib/index.d.ts", "dependencies": {}, "devDependencies": { "@babel/core": "7.4.5", From f9c055ba5261332fde1236bbaf9d3979424b1eb8 Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 13 Jan 2020 14:19:09 +0800 Subject: [PATCH 2/3] chore: add scripts --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f27057531b..0ce547201e 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "test": "karma start", "analyze": "grunt analyze", "dev": "npm-run-all --parallel grunt webpack:dev", - "prepublish": "node ./lib/prepublish/prepublish.js" + "prepublish": "npm run build && node ./lib/prepublish/prepublish.js" }, "repository": { "type": "git", From c0e876442cde87e5d29c1c013008823cf261d10f Mon Sep 17 00:00:00 2001 From: iapyang Date: Wed, 15 Jan 2020 13:50:34 +0800 Subject: [PATCH 3/3] chore: update --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0ce547201e..19b0cd3791 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "test": "karma start", "analyze": "grunt analyze", "dev": "npm-run-all --parallel grunt webpack:dev", - "prepublish": "npm run build && node ./lib/prepublish/prepublish.js" + "prepublishOnly": "npm run build && node ./lib/prepublish/prepublish.js" }, "repository": { "type": "git",