加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
ancjf 提交于 2020-11-27 13:59 . Fix compile error.
{
"name": "easydarwin",
"version": "8.4.0",
"description": "EasyDarwin Open Source Media Server",
"main": "index.js",
"scripts": {
"build:ico": "rsrc -arch amd64 -ico ed.ico -o EasyDarwin_windows.syso",
"build:www": "cd web_src && npm run build && cd .. && apidoc -i routers -o www/apidoc",
"build:doc": "apidoc -i routers -o www/apidoc",
"build:win": "go build -tags release -ldflags \"-s -w\" -o EasyDarwin.exe",
"build:lin": "go build -tags release -ldflags \"-X 'main.buildDateTime=$(date '+%Y-%m-%d %H:%M:%S')' -X 'main.gitCommitCode=$(git rev-list --full-history --all --abbrev-commit --max-count 1)' -s -w\" -o easydarwin",
"build:dev": "go build -o EasyDarwin.exe",
"dev": "go build -o EasyDarwin.exe",
"dev:lin": "go build -o easydarwin",
"dev:www": "cd web_src && npm run start",
"clean": "rimraf EasyDarwin.exe EasyDarwin.exe~ easydarwin"
},
"apidoc": {
"name": "EasyDarwin",
"title": "EasyDarwin API Reference",
"order": [
"stats",
"Pushers",
"Players",
"stream",
"StreamStart",
"StreamStop",
"record",
"RecordFolders",
"RecordFiles",
"sys",
"Login",
"Logout",
"GetUserInfo",
"ModifyPassword",
"GetServerInfo"
]
},
"keywords": [],
"author": "",
"license": "ISC",
"pack": [
{
"name": "EasyDarwin-windows",
"format": "zip",
"pattern": "{www/**,EasyDarwin.exe,ServiceInstall-EasyDarwin.exe,ServiceUninstall-EasyDarwin.exe,easydarwin.ini}",
"options": {
"dot": true,
"ignore": [
"*.log"
]
}
},
{
"name": "EasyDarwin-linux",
"format": "tar",
"pattern": "{www/**,easydarwin,easydarwin.ini,*.sh}",
"options": {
"dot": true,
"ignore": [
"*.log"
]
}
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化