-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathpackage.json
142 lines (142 loc) · 5.19 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
{
"name": "agora-electron-sdk",
"version": "4.2.6-build.128-rc.1",
"description": "agora-electron-sdk",
"main": "js/AgoraSdk",
"types": "types/AgoraSdk.d.ts",
"source": "ts/AgoraSdk",
"files": [
"js",
"ts",
"types",
"scripts",
"!scripts/terra",
"gulpfile.js",
"CHANGELOG.md",
"!**/__tests__"
],
"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\\\"",
"prepack": "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",
"typecheck": "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 build:ts-interface && yarn totalBuild && yarn link && yarn example link agora-electron-sdk && yarn config delete agora-electron-sdk-pre-built",
"build:ts-interface": "ts-interface-builder ts/Private/*.ts -o ts/Private/ti/"
},
"keywords": [
"electron",
"windows",
"mac"
],
"repository": "https://github.com/AgoraIO-Extensions/Electron-SDK",
"author": "Agora.io",
"license": "MIT",
"bugs": {
"url": "https://github.com/AgoraIO-Extensions/Electron-SDK/issues"
},
"homepage": "https://github.com/AgoraIO-Extensions/Electron-SDK#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/preset-env": "^7.21.5",
"@babel/preset-typescript": "^7.21.5",
"@commitlint/config-conventional": "^17.0.2",
"@evilmartians/lefthook": "^1.2.2",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^28.1.2",
"@types/json-bigint": "^1.0.1",
"@types/lodash.isequal": "^4.5.6",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"cmake-js": "6.3.2",
"commitlint": "^17.0.2",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-auto-import": "^0.1.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^26.9.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"gulp-zip": "^5.1.0",
"jest": "^28.1.1",
"patch-package": "^6.5.0",
"prettier": "^2.0.5",
"release-it": "^15.0.0",
"ts-interface-builder": "^0.3.3",
"typescript": "^4.5.2"
},
"engines": {
"node": ">= 14.0.0"
},
"packageManager": "^[email protected]",
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/js/",
"<rootDir>/types/"
]
},
"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"
}
}
},
"dependencies": {
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"download": "^8.0.0",
"eventemitter3": "^5.0.1",
"fs-extra": "^11.1.1",
"gulp": "^4.0.2",
"json-bigint": "^1.0.0",
"jsonfile": "^6.1.0",
"lodash.isequal": "^4.5.0",
"minimist": "^1.2.5",
"shelljs": "^0.8.4",
"ts-interface-checker": "^1.0.2",
"winston": "^3.3.3",
"yuv-buffer": "1.0.0",
"yuv-canvas": "1.2.6"
},
"agora_electron": {
"iris_sdk_win": "https://download.agora.io/sdk/release/iris_4.2.6.5-build.1_DCG_Windows_Video_20240126_1100.zip",
"iris_sdk_mac": "https://download.agora.io/sdk/release/iris_4.2.6.5-build.1_DCG_Mac_Video_20240126_1107.zip"
}
}