forked from EasyDarwin/EasyDarwin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (66 loc) · 1.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "easydarwin",
"version": "8.1.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": "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",
"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"
]
}
}
]
}