From 87cd9e77371cc5d8ec9466c1995b371b30fedd84 Mon Sep 17 00:00:00 2001 From: iapyang Date: Wed, 8 Jan 2020 16:23:06 +0800 Subject: [PATCH] chore: upload --- lib/publish/publish.js | 2 +- package.json | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/publish/publish.js b/lib/publish/publish.js index 27280672b..54687294c 100644 --- a/lib/publish/publish.js +++ b/lib/publish/publish.js @@ -8,4 +8,4 @@ packageJSON.version = `2.0.${new Date().getTime()}`; writeFileSync(resolve(__dirname, "../../package.json"), JSON.stringify(packageJSON, null, 2)); -execSync("npm publish"); +execSync(`npm publish --registry http://192.168.5.154:4873/:_authToken=${process.env.AUTH}`); diff --git a/package.json b/package.json index 9bce7c28f..126aaea13 100644 --- a/package.json +++ b/package.json @@ -88,9 +88,6 @@ "fineui", "finebi" ], - "publishConfig": { - "registry": "http://192.168.5.154:4873" - }, "author": "fanruan", "license": "MIT" }