修复 pkg 打包问题

This commit is contained in:
binaryify.zhuang
2022-01-27 11:09:10 +08:00
parent 36942a350c
commit d5b2952299
3 changed files with 21 additions and 6 deletions
+6 -2
View File
@@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "4.3.0",
"version": "5.0.0",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
@@ -14,7 +14,11 @@
},
"bin": "./app.js",
"pkg": {
"scripts": "module/*.js"
"scripts": "module/*.js",
"assets":[
"/node_modules/vm2/lib/contextify.js",
"/public"
]
},
"keywords": [
"网易云音乐",