forked from webex/webex-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
258 lines (258 loc) · 13.7 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
{
"name": "webex-js-sdk",
"description": "JavaScript SDK for interacting with the Webex API",
"homepage": "https://github.com/webex/webex-js-sdk",
"bugs": {
"url": "https://github.com/webex/webex-js-sdk/issues"
},
"private": true,
"workspaces": [
"./packages/@webex/*",
"./packages/webex",
"./packages/calling",
"./packages/config/*",
"./packages/legacy/*",
"./packages/tools/*"
],
"license": "Cisco EULA (https://www.cisco.com/c/en/us/products/end-user-license-agreement.html)",
"author": "[email protected]",
"engines": {
"node": "16.x",
"npm": ">=6.x"
},
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/webex/webex-js-sdk"
},
"scripts": {
"@all": "yarn @workspaces run",
"@legacy": "yarn @workspaces --from \"{@webex/common,@webex/common-evented,@webex/common-timers,@webex/helper-html,@webex/helper-image,@webex/http-core,@webex/internal-plugin-avatar,@webex/internal-plugin-board,@webex/internal-plugin-calendar,@webex/internal-plugin-conversation,@webex/internal-plugin-device,@webex/internal-plugin-dss,@webex/internal-plugin-ediscovery,@webex/internal-plugin-encryption,@webex/internal-plugin-feature,@webex/internal-plugin-flag,@webex/internal-plugin-llm,@webex/internal-plugin-locus,@webex/internal-plugin-lyra,@webex/internal-plugin-mercury,@webex/internal-plugin-metrics,@webex/internal-plugin-presence,@webex/internal-plugin-scheduler,@webex/internal-plugin-search,@webex/internal-plugin-support,@webex/internal-plugin-team,@webex/internal-plugin-user,@webex/internal-plugin-voicea,@webex/internal-plugin-wdm,@webex/jsdoctrinetest,@webex/media-helpers,@webex/plugin-attachment-actions,@webex/plugin-authorization,@webex/plugin-authorization-browser,@webex/plugin-authorization-browser-first-party,@webex/plugin-authorization-node,@webex/plugin-device-manager,@webex/plugin-logger,@webex/plugin-meetings,@webex/plugin-memberships,@webex/plugin-messages,@webex/plugin-people,@webex/plugin-presence,@webex/plugin-rooms,@webex/plugin-team-memberships,@webex/plugin-teams,@webex/plugin-webhooks,@webex/recipe-private-web-client,@webex/storage-adapter-local-forage,@webex/storage-adapter-local-storage,@webex/storage-adapter-session-storage,@webex/storage-adapter-spec,@webex/test-helper-appid,@webex/test-helper-automation,@webex/test-helper-chai,@webex/test-helper-file,@webex/test-helper-make-local-url,@webex/test-helper-mocha,@webex/test-helper-mock-web-socket,@webex/test-helper-mock-webex,@webex/test-helper-refresh-callback,@webex/test-helper-retry,@webex/test-helper-server,@webex/test-helper-test-users,@webex/test-users,@webex/webex-core,@webex/webex-server,@webex/webrtc,@webex/xunit-with-logs,webex}\" run",
"@legacy-tools": "yarn @workspaces --topological-dev --from \"{@webex/babel-config-legacy,@webex/env-config-legacy,@webex/eslint-config-legacy,@webex/jest-config-legacy,@webex/legacy-tools}\" run",
"@tools": "yarn @workspaces --topological-dev --from \"{@webex/cli-tools,@webex/package-tools}\" run",
"@workspaces": "yarn workspaces foreach --parallel --verbose",
"clean": "rimraf \"packages/@webex/*/.coverage\" \"packages/@webex/*/dist\" \"packages/@webex/*/types\" \"packages/webex/.coverage\" \"packages/webex/dist\"",
"prebuild": "yarn run clean",
"build:publish": "yarn build:package && yarn workspaces foreach --parallel --verbose run build:src",
"build:tools": "yarn workspaces foreach --from '@webex/*-tools' --topological-dev --parallel --verbose run build:src",
"build:local": "yarn ws:tools && yarn workspace @webex/webex-core run build:src && yarn workspaces foreach --parallel --verbose run build:src && yarn run samples:build",
"build": "yarn workspace @webex/media-helpers run build:src && yarn workspace @webex/calling run build:src && node ./tooling/index.js build && yarn && yarn ws:tools build && yarn run build:tsc",
"build:tsc": "yarn run tsc -p ./config/tsconfig.typecheck.json --noEmit && yarn workspace @webex/internal-plugin-metrics run build && yarn workspace @webex/plugin-meetings run build",
"build:script": "node ./tooling/index.js build --umd",
"build:skip-samples": "node ./tooling/index.js build --skip-samples && yarn workspace @webex/internal-plugin-metrics run build && yarn workspace @webex/plugin-meetings run build",
"build:dev": "NODE_ENV=development node ./tooling/index.js build",
"prebuild:modules": "yarn && yarn @tools build:src && yarn @legacy-tools build:src && yarn workspace @webex/webex-core build:src && yarn @all build:src",
"prebuild:docs": "rimraf ./docs/api",
"build:docs": "yarn workspace @webex/plugin-presence run build:docs && yarn workspace @webex/calling run build:docs && documentation build --config documentation/config.yml --format html --output ./docs/api --github ./packages/webex/src/index.js ./packages/@webex/plugin-*/src/index.[tj]s --babel=./babel.config.json",
"check-karma-output": "./scripts/analyze-output.sh",
"build:package": "node ./tooling/index.js build",
"changelog:generate": "npx standard-changelog",
"lint": "yarn && yarn ws:tools build && yarn run --silent eslint .",
"lint:commitmsg": "commitlint -e $GIT_PARAMS",
"lint:staged": "lint-staged",
"test": "node ./tooling/index.js test",
"test:unit": "node ./tooling/index.js test --unit --node",
"test:integration": "node ./tooling/index.js test --integration --browser",
"test:ci:github": "node ./tooling/index.js ci --github",
"test:ci:integration": "node ./tooling/index.js ci --integration",
"distsrc": "find ./packages -name 'package.json' -print0 | xargs -0 sed -ibak 's#\"main\": \"dist/index.js#\"main\": \"src/index.js#' && find ./packages -name '*bak' -print0 | xargs -0 rimraf",
"srcdist": "find ./packages -name 'package.json' -print0 | xargs -0 sed -ibak 's#\"main\": \"src/index.js#\"main\": \"dist/index.js#' && find ./packages -name '*bak' -print0 | xargs -0 rimraf",
"get-current-version": "node ./tooling/index.js version current",
"get-next-version": "node ./tooling/index.js version next --alwaysIncrement --includeSamples",
"deps:generate": "node ./tooling/dep2.js",
"samples:build": "node ./tooling/index.js build --only-samples",
"samples:serve": "webpack serve --color --env NODE_ENV=development",
"samples:serve:integration": "webpack serve --color --env NODE_ENV=test",
"samples:test": "NODE_ENV=test npx wdio run wdio.conf.js",
"samples:test:mobile": "NODE_ENV=test wdio run ./wdio.conf.mobile.js",
"tooling": "node ./tooling/index.js",
"preinstall": "[ -f ./package-lock.json ] && [ \"$npm_config_refer\" != \"ci\" ] && npx npm-force-resolutions || exit 0",
"release": "standard-version -a",
"release:dry-run": "standard-version --dry-run",
"depcheck": "./tooling/depcheck.js",
"postinstall": "patch-package && husky install",
"ws:tools": "yarn workspaces foreach --parallel --recursive --topological-dev --verbose --from '@webex/*-tools' run build:src",
"package-tools": "webex-package-tools"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.10",
"@babel/eslint-parser": "^7.17.0",
"@babel/generator": "^7.24.7",
"@babel/node": "^7.14.9",
"@babel/plugin-proposal-async-generator-functions": "^7.14.9",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-proposal-export-default-from": "^7.14.5",
"@babel/plugin-proposal-export-namespace-from": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.18.9",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-transform-classes": "^7.14.9",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.17.10",
"@babel/preset-typescript": "^7.18.6",
"@babel/register": "^7.17.7",
"@babel/runtime-corejs2": "^7.14.8",
"@babel/template": "^7.14.5",
"@babel/traverse": "^7.14.9",
"@babel/types": "^7.14.9",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@sinonjs/fake-timers": "^6.0.1",
"@types/circular-dependency-plugin": "^5",
"@types/format-util": "^1",
"@types/jasmine": "^4",
"@types/shelljs": "^0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@wdio/allure-reporter": "^7.19.5",
"@wdio/browserstack-service": "^7.19.5",
"@wdio/cli": "^7.19.6",
"@wdio/firefox-profile-service": "^7.19.5",
"@wdio/junit-reporter": "^7.19.5",
"@wdio/local-runner": "^8.39.0",
"@wdio/mocha-framework": "^7.19.5",
"@wdio/sauce-service": "^7.19.5",
"@wdio/spec-reporter": "^7.19.5",
"@wdio/static-server-service": "^7.19.5",
"@webex/cli-tools": "workspace:*",
"@webex/package-tools": "workspace:*",
"appium-adb": "^12.5.0",
"babel-loader": "^8.2.2",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-module-resolver": "^5.0.2",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"browserify-middleware": "^8.1.1",
"builtins": "^5.1.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chromedriver": "^119.0.1",
"circular-dependency-plugin": "^5.2.2",
"core-js": "^3.26.0",
"debug": "^4.3.4",
"detective": "^5.2.1",
"documentation": "^14.0.1",
"documentation-theme-utils": "^3.0.0",
"dotenv": "^4.0.0",
"envify": "^4.1.0",
"eslint": "^8.24.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-inclusive-language": "^2.2.0",
"eslint-plugin-jasmine": "^4.1.3",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-jsdoc": "^40.0.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-tsdoc": "^0.2.14",
"expect-webdriverio": "^3.3.1",
"express": "^4.19.2",
"express-session": "^1.16.2",
"express-validator": "^5.3.1",
"firefox-profile": "^4.0.0",
"fs-extra": "^8.1.0",
"geckodriver": "^4.4.2",
"glob": "^7.1.4",
"humanize-string": "^1.0.2",
"husky": "^7.0.4",
"intern": "^4.10.1",
"istanbul": "^0.4.5",
"jasmine": "^4.5.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.1.2",
"jest-html-reporters": "^3.0.11",
"jest-junit": "^14.0.1",
"jsdom": "19.0.0",
"jsdom-global": "3.0.2",
"karma": "^6.4.3",
"karma-browserify": "^8.1.0",
"karma-browserstack-launcher": "^1.6.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-edgium-launcher": "^4.0.0-0",
"karma-firefox-launcher": "^2.1.0",
"karma-ie-launcher": "^1.0.0",
"karma-junit-reporter": "^2.0.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-opera-launcher": "^1.0.0",
"karma-safari-launcher": "^1.0.0",
"karma-sauce-launcher": "^4.3.6",
"lint-staged": "^13.0.3",
"lodash": "^4.17.21",
"mkdirp": "^0.5.1",
"mocha": "10.0",
"mocha-junit-reporter": "^2.1.0",
"mocha-steps": "^1.3.0",
"patch-package": "^6.4.7",
"path-parse": "^1.0.7",
"prettier": "^2.7.1",
"rimraf": "^2.6.3",
"serve-handler": "^6.1.3",
"shelljs": "^0.8.5",
"sinon": "^9.2.4",
"standard-version": "^9.1.1",
"terser-webpack-plugin": "^4.2.3",
"ts-jest": "^29.0.3",
"typescript": "^4.7.4",
"uuid": "^3.3.2",
"wd": "^1.14.0",
"wdio-chromedriver-service": "^7.3.2",
"wdio-geckodriver-service": "^2.1.1",
"webdriverio": "^7.19.5",
"webpack": "^5.74.0",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.3.1",
"yakbak": "^5.0.1",
"yargs": "^16.2.0"
},
"optionalDependencies": {
"@ciscospark/test-users-legacy": "^1.2.0"
},
"browser": {
"./src/client/client/client.js": "./src/client/client/client.shim.js",
"./src/client/client/processors/request/request.js": "./src/client/client/processors/request/request.shim.js",
"./src/client/credentials/credentials.js": "./src/client/credentials/credentials.shim.js",
"./src/client/mercury/socket/socket.js": "./src/client/mercury/socket/socket.shim.js",
"./src/client/services/conversation/file-cache/collection/collection.js": "./src/client/services/conversation/file-cache/collection/collection.shim.js",
"./src/client/services/conversation/file-cache/model/model.js": "./src/client/services/conversation/file-cache/model/model.shim.js",
"./src/client/services/conversation/share-activity/share-activity.js": "./src/client/services/conversation/share-activity/share-activity.shim.js",
"./src/client/services/encryption/encryption/encryption.js": "./src/client/services/encryption/encryption/encryption.shim.js",
"./src/lib/image/image.js": "./src/lib/image/image.shim.js",
"./src/test/test.js": "./src/test/test.shim.js",
"./src/util/html/html.js": "./src/util/html/html.shim.js",
"crypto": false,
"gm": false,
"mmmagic": false,
"underscore": "lodash"
},
"browserify": {
"transform": [
"envify"
]
},
"publishConfig": {
"registry": "http://engci-maven-master.cisco.com/artifactory/api/npm/webex-release-npm"
},
"standard-version": {
"scripts": {
"postbump": "yarn run build:skip-samples && yarn run build:script && git add packages/webex/umd/*.js",
"release": "git add packages/*/package.json packages/@webex/*/package.json CHANGELOG.md && standard-version -a"
}
},
"packageManager": "[email protected]",
"dependencies": {
"querystring-es3": "^0.2.1"
},
"//": "Todo: https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-490729"
}