diff --git a/test-npm-publish/.npmrc b/test-npm-publish/.npmrc new file mode 100644 index 0000000..49708f8 --- /dev/null +++ b/test-npm-publish/.npmrc @@ -0,0 +1,2 @@ +# @abearxiong:registry=https://registry.npmjs.org/ +@abearxiong:registry=https://npm.xiongxiao.me \ No newline at end of file diff --git a/test-npm-publish/package.json b/test-npm-publish/package.json index eaf5a8f..e25fc38 100644 --- a/test-npm-publish/package.json +++ b/test-npm-publish/package.json @@ -1,6 +1,6 @@ { - "name": "@abear/test-publish", - "version": "1.0.0", + "name": "@abearxiong/test-publish", + "version": "1.0.1", "description": "", "private": false, "main": "dist/index.js", @@ -8,7 +8,7 @@ "scripts": { "build": "tsc", "prepublish": "npm run build", - "spublish": "npm publish --registry https://registry.npmjs.org/" + "publish:me": "npm publish --registry https://npm.xiongxiao.me" }, "files": [ "dist" @@ -23,4 +23,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file