-
Notifications
You must be signed in to change notification settings - Fork 84
/
package.json
388 lines (388 loc) · 15.6 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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
{
"name": "sunbirded-mobile-app",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"lint": "ng lint",
"e2e": "ng e2e",
"test": "jest",
"test:coverage": "jest --coverage",
"postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points",
"debug-sdk": "node sdk-local.js",
"test:ci": "jest --ci --collectCoverage=true --coverageReporters=lcov --forceExit --detectOpenHandles --maxWorkers=2",
"ionic-build": "ng build --source-map && node attach-source-maps.js && cordova build android",
"ionic-build:prod": "ng build --configuration=$npm_config_angular_configuration && cordova build android --prod --release --verbose --buildConfig ./buildConfig/build.json",
"ionic-build:debug": "ng build --configuration=$npm_config_angular_configuration && cordova build android --debug --buildConfig ./buildConfig/build.json",
"ionic-serve": "ionic cordova run android --livereload --configuration=hmr",
"sonar-scanner": "sonar-scanner",
"sonar-scanner:scan": "sonar-scanner -Dsonar.host.url=http://127.0.0.1:9000 -Dsonar.login=$SONAR_LOGIN",
"ionic-build-ios:debug": "ng build --eval--source-map --configuration=$npm_config_angular_configuration && cordova run ios --debug"
},
"private": true,
"dependencies": {
"@angular/animations": "13.4.0",
"@angular/common": "13.4.0",
"@angular/core": "13.4.0",
"@angular/forms": "13.4.0",
"@angular/localize": "13.4.0",
"@angular/platform-browser": "13.4.0",
"@angular/platform-browser-dynamic": "13.4.0",
"@angular/router": "13.4.0",
"@awesome-cordova-plugins/android-permissions": "6.3.0",
"@awesome-cordova-plugins/app-version": "6.3.0",
"@awesome-cordova-plugins/camera": "6.3.0",
"@awesome-cordova-plugins/chooser": "6.3.0",
"@awesome-cordova-plugins/core": "6.3.0",
"@awesome-cordova-plugins/device": "6.3.0",
"@awesome-cordova-plugins/diagnostic": "6.5.0",
"@awesome-cordova-plugins/fcm": "^6.3.0",
"@awesome-cordova-plugins/file": "6.3.0",
"@awesome-cordova-plugins/file-chooser": "6.3.0",
"@awesome-cordova-plugins/file-opener": "6.3.0",
"@awesome-cordova-plugins/file-path": "6.3.0",
"@awesome-cordova-plugins/file-transfer": "6.3.0",
"@awesome-cordova-plugins/google-plus": "6.3.0",
"@awesome-cordova-plugins/http": "6.3.0",
"@awesome-cordova-plugins/image-picker": "6.3.0",
"@awesome-cordova-plugins/ionic-webview": "6.3.0",
"@awesome-cordova-plugins/keyboard": "6.3.0",
"@awesome-cordova-plugins/local-notifications": "6.3.0",
"@awesome-cordova-plugins/media": "6.3.0",
"@awesome-cordova-plugins/native-page-transitions": "6.3.0",
"@awesome-cordova-plugins/network": "6.3.0",
"@awesome-cordova-plugins/photo-library": "6.3.0",
"@awesome-cordova-plugins/photo-viewer": "6.3.0",
"@awesome-cordova-plugins/screen-orientation": "6.3.0",
"@awesome-cordova-plugins/sign-in-with-apple": "6.3.0",
"@awesome-cordova-plugins/social-sharing": "6.3.0",
"@awesome-cordova-plugins/status-bar": "6.3.0",
"@awesome-cordova-plugins/streaming-media": "6.3.0",
"@ionic/angular": "6.7.4",
"@ionic/cordova-builders": "9.0.0",
"@ionic/storage": "2.2.0",
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"@project-sunbird/client-services": "7.0.4",
"@project-sunbird/common-consumption": "7.0.7",
"@project-sunbird/common-form-elements": "6.0.0",
"@project-sunbird/content-player": "5.1.0",
"@project-sunbird/discussions-ui": "5.3.0-beta.0",
"@project-sunbird/sb-dashlet": "1.0.4",
"@project-sunbird/sb-notification": "6.0.0",
"@project-sunbird/sb-styles": "0.0.16",
"@project-sunbird/sb-svg2pdf": "6.0.2",
"@project-sunbird/sunbird-epub-player-v9": "5.2.1",
"@project-sunbird/sunbird-pdf-player-v9": "5.1.1",
"@project-sunbird/sunbird-quml-player-web-component": "3.0.3",
"@project-sunbird/sunbird-sdk": "7.0.19",
"@project-sunbird/sunbird-video-player-web-component": "^1.0.1",
"chart.js": "^2.9.4",
"chartjs-plugin-datalabels": "^0.7.0",
"chartjs-plugin-stacked100": "^0.7.1",
"colors": "1.4.0",
"com.jjdltc.cordova.plugin.zip": "git+https://github.com/Sunbird-Ed/jjdltc-cordova-plugin-zip.git",
"cordova-plugin-badge": "^0.8.8",
"core-js": "^3.23.3",
"datatables.net-dt": "^1.13.4",
"datatables.net-fixedcolumns": "^3.3.3",
"dayjs": "1.9.8",
"dom-to-image": "^2.6.0",
"epubjs": "^0.3.89",
"grapheme-splitter": "^1.0.4",
"hammerjs": "^2.0.8",
"ionic4-rating": "^1.0.9",
"jest-preset-angular": "^12.2.6",
"jspdf": "^2.0.0",
"jwt-decode": "^2.2.0",
"katex": "^0.11.1",
"lodash": "^4.17.21",
"lodash-es": "^4.17.20",
"material-design-icons": "^3.0.1",
"moment": "^2.29.4",
"ng-recaptcha": "^9.0.0",
"ng2-charts": "^2.4.2",
"ng2-material-dropdown": "1.0.0",
"ngx-bootstrap": "^8.0.0",
"ngx-chips": "2.2.2",
"ngx-infinite-scroll": "^10.0.1",
"ngx-moment": "^5.0.0",
"pouchdb": "^7.2.2",
"pouchdb-adapter-cordova-sqlite": "^2.0.7",
"pouchdb-find": "^7.2.2",
"rxjs": "^6.6.3",
"sb-tag-manager": "^3.9.19",
"ts-jest": "^28.0.8",
"tslib": "^2.0.0",
"uuid": "^3.4.0",
"video.js": "7.18.1",
"videojs-contrib-quality-levels": "2.1.0",
"videojs-http-source-selector": "1.1.6",
"x2js": "^3.3.0",
"zone.js": "~0.11.4"
},
"resolutions": {
"ng2-material-dropdown": "1.0.0"
},
"config": {
"ionic_source_map_type": "inline-source-map",
"ionic_webpack": "./config/webpack.config.js",
"ionic_sass": "./config/sass.config.js",
"ionic_enable_lint": false
},
"browser": {
"assert": false
},
"devDependencies": {
"@angular-devkit/build-angular": "13.0.0",
"@angular/cli": "13.3.11",
"@angular/compiler": "13.4.0",
"@angular/compiler-cli": "13.4.0",
"@angular/language-service": "13.4.0",
"@angularclass/hmr": "3.0.0",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.9.5",
"@babel/preset-typescript": "^7.9.0",
"@ionic/angular-toolkit": "^6.0.0",
"@project-sunbird/sb-themes": "0.0.86",
"@project-sunbird/telemetry-sdk": "0.0.29",
"@types/jest": "^28.0.3",
"@types/lodash": "^4.14.180",
"@types/node": "12.11.5",
"babel-polyfill": "^6.26.0",
"code-push": "^3.0.1",
"com-sarriaroman-photoviewer": "^1.3.0",
"com.telerik.plugins.nativepagetransitions": "^0.7.0",
"cordova-android": "^12.0.0",
"cordova-plugin-advanced-http": "^2.5.1",
"cordova-plugin-android-downloadmanager": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-downloadmanager.git",
"cordova-plugin-android-permissions": "^1.1.5",
"cordova-plugin-androidx-adapter": "^1.1.3",
"cordova-plugin-app-version": "^0.1.14",
"cordova-plugin-appavailability": "^0.4.2",
"cordova-plugin-awesome-shared-preferences": "git+https://github.com/adriano-di-giovanni/cordova-plugin-shared-preferences.git",
"cordova-plugin-badge-fix": "^0.8.10",
"cordova-plugin-camera": "git+https://github.com/shikshalokam/cordova-plugin-camera.git",
"cordova-plugin-chooser": "git+https://github.com/shikshalokam/cordova-plugin-chooser.git",
"cordova-plugin-code-push": "git+https://github.com/swayangjit/cordova-plugin-code-push.git",
"cordova-plugin-console": "^1.1.0",
"cordova-plugin-device": "^2.1.0",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-document-viewer": "git+https://github.com/swayangjit/cordova-plugin-document-viewer.git",
"cordova-plugin-fcm-with-dependecy-updated": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-fcm.git#release-5.1.2",
"cordova-plugin-file": "^8.0.1",
"cordova-plugin-file-opener2": "^2.2.1",
"cordova-plugin-file-transfer": "git+https://github.com/shikshalokam/cordova-plugin-file-transfer.git",
"cordova-plugin-filechooser": "^1.2.0",
"cordova-plugin-filepath": "git+https://github.com/shikshalokam/cordova-plugin-filepath.git",
"cordova-plugin-filepicker": "^1.1.6",
"cordova-plugin-googleplus": "^8.5.2",
"cordova-plugin-inappbrowser": "^5.0.0",
"cordova-plugin-inappupdatemanager": "git+https://github.com/Sunbird-Ed/cordova-plugin-inappupdatemanager#release-3.7.0",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^4.2.1",
"cordova-plugin-local-notification": "git+https://github.com/fquirin/cordova-plugin-local-notifications.git",
"cordova-plugin-media": "^7.0.0",
"cordova-plugin-network-information": "^2.0.2",
"cordova-plugin-openrap": "git+https://github.com/project-sunbird/cordova-plugin-openrap.git",
"cordova-plugin-printer": "^0.8.0",
"cordova-plugin-proguard": "git+https://github.com/greybax/cordova-plugin-proguard.git",
"cordova-plugin-qr-scanner": "git+https://github.com/project-sunbird/cordova-plugin-qr-scanner.git#release-5.0.2",
"cordova-plugin-screen-orientation": "git+https://github.com/521dimensions/cordova-plugin-screen-orientation.git",
"cordova-plugin-secure-storage-echo": "^5.1.1",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-streaming-media": "^2.3.0",
"cordova-plugin-sunbirdsplash": "git+https://github.com/project-sunbird/cordova-plugin-sunbirdsplash.git#release-6.0.0",
"cordova-plugin-telerik-imagepicker": "^2.3.3",
"cordova-plugin-webview-checker": "^1.0.1",
"cordova-plugin-x-socialsharing": "^6.0.4",
"cordova-plugin-zip": "^3.1.0",
"cordova-sqlite-storage": "^6.0.0",
"cordova-zip-plugin": "git+https://github.com/Sunbird-Ed/jjdltc-cordova-plugin-zip.git",
"cordova.plugins.diagnostic": "^7.1.4",
"es6-promise-plugin": "^4.2.2",
"fs-extra": "^8.1.0",
"ionic-plugin-keyboard": "^2.2.1",
"jest": "^28.0.3",
"plist": "^3.0.2",
"properties-reader": "^2.2.0",
"sb-cordova-plugin-customtabs": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-customtabs.git#release-5.0.2",
"sb-cordova-plugin-db": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-db.git#release-4.6.0",
"sb-cordova-plugin-sync": "git+https://github.com/project-sunbird/sb-cordova-plugin-sync.git",
"sb-cordova-plugin-utility": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-utility.git#release-6.0.0",
"sonarqube-scanner": "3.5.0",
"tiny-glob": "^0.2.9",
"ts-node": "^10.9.1",
"tslint": "~6.1.0",
"typescript": "4.6.4",
"uk.co.workingedge.phonegap.plugin.istablet": "^1.2.0"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"com.jjdltc.cordova.plugin.zip": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-ionic-webview": {},
"cordova-plugin-app-version": {},
"cordova-plugin-x-socialsharing": {},
"cordova-plugin-device": {},
"cordova-plugin-file": {},
"cordova-plugin-file-transfer": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-network-information": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-streaming-media": {},
"cordova-plugin-awesome-shared-preferences": {},
"cordova-plugin-advanced-http": {},
"cordova-plugin-android-permissions": {},
"cordova-plugin-media": {},
"cordova-plugin-android-downloadmanager": {},
"sb-cordova-plugin-db": {},
"sb-cordova-plugin-customtabs": {
"URL_SCHEME": "@string/custom_scheme_url",
"URL_HOST": "mobile"
},
"cordova-plugin-qr-scanner": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-file-opener2": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-screen-orientation": {},
"cordova-plugin-zip": {},
"cordova-plugin-local-notification": {
"ANDROID_SUPPORT_V4_VERSION": "26.+"
},
"cordova-plugin-code-push": {},
"cordova-plugin-openrap": {},
"cordova-plugin-webview-checker": {},
"sb-cordova-plugin-utility": {},
"cordova-plugin-printer": {},
"cordova-plugin-fcm-with-dependecy-updated": {
"ANDROID_FIREBASE_BOM_VERSION": "26.5.0",
"GRADLE_TOOLS_VERSION": "3.5.0",
"GOOGLE_SERVICES_VERSION": "4.3.8",
"ANDROID_DEFAULT_NOTIFICATION_ICON": "@mipmap/ic_launcher"
},
"com.telerik.plugins.nativepagetransitions": {},
"sb-cordova-plugin-sync": {},
"cordova-plugin-proguard": {},
"cordova-plugin-androidx-adapter": {},
"cordova-plugin-secure-storage-echo": {},
"cordova-plugin-appavailability": {},
"cordova-plugin-camera": {},
"cordova-plugin-filepath": {},
"cordova-plugin-chooser": {},
"cordova-plugin-filepicker": {},
"com-sarriaroman-photoviewer": {},
"cordova-sqlite-storage": {},
"cordova-plugin-telerik-imagepicker": {},
"cordova-plugin-filechooser": {},
"cordova-plugin-inappupdatemanager": {},
"cordova-plugin-googleplus": {
"PLAY_SERVICES_VERSION": "15.0.1"
},
"uk.co.workingedge.phonegap.plugin.istablet": {},
"cordova-plugin-console": {},
"cordova-plugin-sunbirdsplash": {},
"cordova-plugin-document-viewer": {},
"cordova.plugins.diagnostic": {
"ANDROIDX_VERSION": "1.0.0",
"ANDROIDX_APPCOMPAT_VERSION": "1.3.1"
}
},
"platforms": [
"ios"
]
},
"jest": {
"browser": false,
"preset": "ts-jest",
"verbose": true,
"testEnvironment": "jsdom",
"globals": {
"cordova": true,
"ts-jest": {
"tsconfig": "<rootDir>/src/tsconfig.spec.json",
"stringifyContentPathRegex": "\\.(html|svg)$"
}
},
"setupFiles": [
"<rootDir>/src/__tests__/setup.js"
],
"setupFilesAfterEnv": [
"./setup-jest.ts"
],
"rootDir": "./",
"roots": [
"<rootDir>/src/app",
"<rootDir>/src/config",
"<rootDir>/src/directives",
"<rootDir>/src/guards",
"<rootDir>/src/pipes",
"<rootDir>/src/services",
"<rootDir>/src/util"
],
"moduleDirectories": [
"node_modules"
],
"testPathIgnorePatterns": [
"/node_modules/",
".data.spec.ts",
".spec.data.ts"
],
"testMatch": [
"**/?(*.)(spec).ts"
],
"collectCoverage": true,
"coverageDirectory": "<rootDir>/coverage/",
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx",
"html",
"mjs",
"d.ts"
],
"transform": {
"^.+\\.(ts|js)$": "babel-jest",
"^.+.(ts|mjs|js|html)$": "jest-preset-angular"
},
"coverageReporters": [
"text"
],
"moduleNameMapper": {
"^@app/(.*)$": "<rootDir>/src/$1",
"^sunbird-sdk": "<rootDir>/node_modules/@project-sunbird/sunbird-sdk",
"^sunbird-sdk/(.*)$": "<rootDir>/node_modules/@project-sunbird/sunbird-sdk/$1",
"common-form-elements": [
"<rootDir>/node_modules/@project-sunbird/common-form-elements"
],
"common-form-elements/*": [
"<rootDir>/node_modules/@project-sunbird/common-form-elements/*"
],
"^lodash-es$": "lodash"
},
"transformIgnorePatterns": [
"node_modules/(?!.*\\.mjs$|@project-sunbird|pouchdb|uuid)"
],
"snapshotSerializers": [
"jest-preset-angular/build/serializers/no-ng-attributes",
"jest-preset-angular/build/serializers/ng-snapshot",
"jest-preset-angular/build/serializers/html-comment"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/app/*/*.module.ts",
"<rootDir>/src/app/animations/*.ts",
"<rootDir>/src/app/manage-learn/"
]
}
}