增加打包可执行程序功能

This commit is contained in:
blooddark 2021-06-20 10:02:32 +08:00 committed by GitHub
parent 6a293401c2
commit 45bfab349b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,14 @@
"test": "mocha -r intelli-espower-loader -t 20000 app.test.js --exit", "test": "mocha -r intelli-espower-loader -t 20000 app.test.js --exit",
"lint": "eslint \"**/*.{js,ts}\"", "lint": "eslint \"**/*.{js,ts}\"",
"lint-fix": "eslint --fix \"**/*.{js,ts}\"", "lint-fix": "eslint --fix \"**/*.{js,ts}\"",
"prepare": "husky install" "prepare": "husky install",
"pkgwin": "pkg . -t node14-win-x64 -o app",
"pkglinux": "pkg . -t node14-linux-x64 -o app",
"pkgmacos": "pkg . -t node14-macos-x64 -o app"
},
"bin": "./app.js",
"pkg": {
"scripts": "module/*.js"
}, },
"keywords": [ "keywords": [
"网易云音乐", "网易云音乐",