This repository has been archived by the owner on Apr 23, 2023. It is now read-only.
forked from AgoraIO-Extensions/Electron-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
176 lines (176 loc) · 5.63 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "agora-electron-sdk",
"version": "4.1.1-rc.1",
"description": "agora-electron-sdk",
"main": "js/AgoraSdk.js",
"types": "types/AgoraSdk.d.ts",
"repository": "https://github.com/AgoraIO-Extensions/Electron-SDK",
"author": "agora.io",
"scripts": {
"totalBuild": "cross-env-shell gulp totalBuild \\\"--INIT_CWD=$INIT_CWD\\\"",
"build": "cross-env-shell gulp build \\\"--INIT_CWD=$INIT_CWD\\\"",
"clean": "cross-env-shell gulp clean \\\"--INIT_CWD=$INIT_CWD\\\"",
"syncLib": "cross-env-shell gulp syncLib \\\"--INIT_CWD=$INIT_CWD\\\"",
"buildJS": "cross-env-shell gulp buildJS \\\"--INIT_CWD=$INIT_CWD\\\"",
"zipBuild": "cross-env-shell gulp zipBuild \\\"--INIT_CWD=$INIT_CWD\\\"",
"prepublishOnly": "cross-env-shell npm run buildJS \\\"--INIT_CWD=$INIT_CWD\\\"",
"build_mac_debug": "cmake-js rebuild --CDCMAKE_BUILD_TYPE=Debug --CDCMAKE_OSX_ARCHITECTURES=\"arm64;x86_64\" -G Xcode",
"build_mac_release": "cmake-js rebuild --CDCMAKE_BUILD_TYPE=Release --CDCMAKE_OSX_ARCHITECTURES=\"arm64;x86_64\" -G Xcode",
"build_windows_win32_debug": "cmake-js rebuild --arch=ia32 --CDCMAKE_OSX_ARCHITECTURES=\"i386\" --CDCMAKE_BUILD_TYPE=Debug -G \"Visual Studio 16 2019\" ",
"build_windows_win32_release": "cmake-js rebuild --arch=ia32 --CDCMAKE_OSX_ARCHITECTURES=\"i386\" --CDCMAKE_BUILD_TYPE=Release",
"build_windows_x64_debug": "cmake-js rebuild --arch=x64 --CDCMAKE_OSX_ARCHITECTURES=\"x86_64\" --CDCMAKE_BUILD_TYPE=Debug -G \"Visual Studio 16 2019\"",
"build_windows_x64_release": "cmake-js rebuild --arch=x64 --CDCMAKE_OSX_ARCHITECTURES=\"x86_64\" --CDCMAKE_BUILD_TYPE=Release",
"build_linux_debug": "cmake-js rebuild --arch=x64 --CDCMAKE_BUILD_TYPE=Debug -G \"Unix Makefiles\"",
"build_linux_release": "cmake-js rebuild --arch=x64 --CDCMAKE_BUILD_TYPE=Release -G \"Unix Makefiles\"",
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"install": "cross-env-shell gulp NPM_Install \\\"--INIT_CWD=$INIT_CWD\\\"",
"release": "release-it",
"example": "yarn --cwd example",
"bootstrap": "yarn config set agora-electron-sdk-pre-built 0 && yarn example && yarn install && yarn patch-package && yarn ts_interface_builder && yarn totalBuild && yarn link && yarn example link agora-electron-sdk && yarn config delete agora-electron-sdk-pre-built",
"ts_interface_builder": "ts-interface-builder ts/Private/*.ts -o ts/Private/ti/"
},
"agora_electron": {
"iris_sdk_win": "https://download.agora.io/sdk/release/iris_4.1.1-rc.1_DCG_Windows_Video_20230215_1032.zip",
"iris_sdk_mac": "https://download.agora.io/sdk/release/iris_4.1.1-rc.1_DCG_Mac_Video_20230215_1034.zip"
},
"dependencies": {
"bindings": "1.2.1",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"download": "^8.0.0",
"extract-zip": "^2.0.1",
"fs-extra": "^9.1.0",
"gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"gulp-zip": "^5.1.0",
"json-bigint": "^1.0.0",
"jsonfile": "^6.1.0",
"lodash.isequal": "^4.5.0",
"minimist": "^1.2.5",
"rimraf": "^3.0.0",
"shelljs": "^0.8.4",
"ts-interface-checker": "^1.0.2",
"winston": "^3.3.3",
"yuv-buffer": "1.0.0",
"yuv-canvas": "1.2.6"
},
"files": [
"js",
"ts",
"types",
"scripts",
"gulpfile.*",
"agora_node_ext",
"common",
"extra"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@arkweid/lefthook": "^0.7.7",
"@commitlint/config-conventional": "^17.0.2",
"@release-it/conventional-changelog": "^5.0.0",
"@typescript-eslint/parser": "^5.33.0",
"cmake-js": "6.3.2",
"commitlint": "^17.0.2",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-auto-import": "^0.1.1",
"eslint-plugin-prettier": "^3.1.3",
"patch-package": "^6.5.0",
"prettier": "^2.0.5",
"release-it": "^15.0.0",
"ts-interface-builder": "^0.3.3",
"typescript": "^4.5.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"browser": true,
"shared-node-browser": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"prettier",
"eslint:recommended"
],
"plugins": [
"prettier",
"auto-import"
],
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
],
"no-unused-vars": "warn",
"@typescript-eslint/no-unused-vars": "off",
"auto-import/auto-import": [
"error",
{
"rootPath": "./ts/Private"
}
]
},
"globals": {
"define": "readonly",
"obj_attrib": "readonly",
"info": "readonly",
"NodeJS": "readonly"
}
},
"eslintIgnore": [
"node_modules/",
"build/",
"dist/",
"js/",
"types/",
"ts/Private/ti/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}