feat: test publish to local Verdaccio
This commit is contained in:
parent
5d7ddb9421
commit
d7be1e2051
2
test-npm-publish/.npmrc
Normal file
2
test-npm-publish/.npmrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# @abearxiong:registry=https://registry.npmjs.org/
|
||||||
|
@abearxiong:registry=https://npm.xiongxiao.me
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@abear/test-publish",
|
"name": "@abearxiong/test-publish",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
@ -8,7 +8,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "npm run build",
|
||||||
"spublish": "npm publish --registry https://registry.npmjs.org/"
|
"publish:me": "npm publish --registry https://npm.xiongxiao.me"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
@ -23,4 +23,4 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user