You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EasyDarwin/package.json

70 lines
1.7 KiB

6 years ago
{
"name": "easydarwin",
6 years ago
"version": "8.1.0",
6 years ago
"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",
6 years ago
"build:win": "go build -tags release -ldflags \"-s -w\" -o EasyDarwin.exe",
"build:lin": "go build -tags release -ldflags \"-s -w\" -o easydarwin",
"build:dev": "go build -o EasyDarwin.exe",
6 years ago
"dev": "gobuild -o EasyDarwin.exe",
"dev:lin": "gobuild -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",
6 years ago
"stream",
"StreamStart",
"StreamStop",
"record",
"RecordFolders",
"RecordFiles",
6 years ago
"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"
]
}
}
]
}