This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
167 lines (167 loc) · 5.09 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
{
"name": "agora-electron-sdk",
"version": "4.0.0-rc.3",
"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": {
"install": "cross-env-shell gulp NPM_Install --INIT_CWD=$INIT_CWD",
"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": "cmake-js rebuild --CDCMAKE_BUILD_TYPE=Debug --CDCMAKE_OSX_ARCHITECTURES=\"arm64;x86_64\"",
"build_mac_xcode": "cmake-js rebuild --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=Debug",
"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 --CDCMAKE_CXX_FLAGS=-g -G \"Unix Makefiles\"",
"build_linux_release": "cmake-js rebuild --arch=x64 --CDCMAKE_BUILD_TYPE=Release -G \"Unix Makefiles\"",
"changelog": "conventional-changelog -p angular -u -i CHANGELOG.md -s -r 10",
"release": "release-it",
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn"
},
"agora_electron": {
"iris_sdk_win": "https://download.agora.io/sdk/release/iris_4.0.0_DCG_Windows_Video_20220910_0326.zip",
"iris_sdk_mac": "https://download.agora.io/sdk/release/iris_4.0.0_DCG_Mac_Video_20220910_0344.zip",
"no_symbol": true,
"prebuilt": true
},
"dependencies": {
"bindings": "1.2.1",
"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",
"lodash.isequal": "^4.5.0",
"minimist": "^1.2.5",
"rimraf": "^3.0.0",
"shelljs": "^0.8.4",
"winston": "^3.3.3",
"buffer": "^6.0.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-prettier": "^3.1.3",
"husky": "4.2.5",
"prettier": "^2.0.5",
"release-it": "^15.0.0",
"typescript": "^4.5.2"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn lint && yarn typescript"
}
},
"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": {
"env": {
"node": true,
"browser": true,
"shared-node-browser": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"prettier",
"eslint:recommended"
],
"plugins": [
"prettier"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off",
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
},
"globals": {
"define": "readonly",
"obj_attrib": "readonly",
"info": "readonly",
"NodeJS": "readonly"
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}