Skip to content

Commit c5e10bc

Browse files
committed
build: 添加npm发布配置
添加publishConfig配置项,指定npm包的发布地址和访问权限为public
1 parent 2660886 commit c5e10bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@
2626
"semantic-release": "^24.2.0",
2727
"@semantic-release/changelog": "^6.0.3",
2828
"@semantic-release/git": "^10.0.1"
29+
},
30+
"publishConfig": {
31+
"access": "public",
32+
"registry": "https://npm.cnb.cool/GameFrameX/npm/-/packages/"
2933
}
3034
}

0 commit comments

Comments
 (0)