forked from sujithsojan/SunbirdEd-mobile-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
268 lines (268 loc) · 10.4 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
{
"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",
"test:ci": "jest --ci --collectCoverage=true --coverageReporters=lcov --forceExit --detectOpenHandles --maxWorkers=2",
"ionic-build": "ng build --eval--source-map --configuration=$npm_config_angular_configuration && cordova run android",
"ionic-build:prod": "ionic cordova build android --configuration=$npm_config_angular_configuration --prod --release --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"
},
"private": true,
"dependencies": {
"@angular-builders/custom-webpack": "^7.0.2",
"@angular-builders/dev-server": "^7.3.1",
"@angular/animations": "^7.2.15",
"@angular/common": "^7.2.2",
"@angular/core": "^7.2.2",
"@angular/forms": "^7.2.2",
"@angular/http": "^7.2.2",
"@angular/platform-browser": "^7.2.2",
"@angular/platform-browser-dynamic": "^7.2.2",
"@angular/router": "^7.2.2",
"@ionic-native/app-version": "^5.15.1",
"@ionic-native/core": "^5.15.1",
"@ionic-native/device": "^5.15.1",
"@ionic-native/file": "^5.15.1",
"@ionic-native/file-opener": "^5.15.1",
"@ionic-native/file-transfer": "^5.15.1",
"@ionic-native/ionic-webview": "^5.15.1",
"@ionic-native/keyboard": "^5.15.1",
"@ionic-native/local-notifications": "^5.15.1",
"@ionic-native/native-page-transitions": "^5.23.0",
"@ionic-native/network": "^5.15.1",
"@ionic-native/screen-orientation": "^5.15.1",
"@ionic-native/social-sharing": "^5.15.1",
"@ionic-native/status-bar": "^5.15.1",
"@ionic/angular": "^4.11.2",
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"@project-sunbird/client-services": "3.6.12",
"@project-sunbird/common-consumption": "3.6.9",
"@project-sunbird/content-player": "3.6.4",
"@project-sunbird/discussions-ui": "1.0.11",
"@project-sunbird/sb-styles": "0.0.7",
"@project-sunbird/sunbird-pdf-player": "0.1.2",
"@project-sunbird/sunbird-sdk": "3.6.6",
"code-push": "^3.0.1",
"com.jjdltc.cordova.plugin.zip": "https://github.com/swayangjit/jjdltc-cordova-plugin-zip.git",
"com.telerik.plugins.nativepagetransitions": "^0.6.5",
"common-form-elements": "1.0.8",
"cordova-android": "^9.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.2",
"cordova-plugin-androidx-adapter": "^1.1.3",
"cordova-plugin-app-version": "^0.1.9",
"cordova-plugin-awesome-shared-preferences": "git+https://github.com/adriano-di-giovanni/cordova-plugin-shared-preferences.git",
"cordova-plugin-badge": "^0.8.8",
"cordova-plugin-code-push": "^1.13.1",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-fcm-with-dependecy-updated": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-fcm.git#release-3.4.0",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-file-opener2": "^2.2.1",
"cordova-plugin-file-support": "git+https://github.com/project-sunbird/cordova-plugin-file-support.git",
"cordova-plugin-file-transfer": "^1.7.1",
"cordova-plugin-inappbrowser": "^3.2.0",
"cordova-plugin-inappupdatemanager": "https://github.com/subranil/cordova-plugin-inappupdatemanager.git",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^4.2.1",
"cordova-plugin-local-notification": "git+https://github.com/katzer/cordova-plugin-local-notifications.git",
"cordova-plugin-media": "^5.0.3",
"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-3.3.0",
"cordova-plugin-screen-orientation": "^3.0.2",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-sunbirdsplash": "git+https://github.com/project-sunbird/cordova-plugin-sunbirdsplash.git#release-3.4.0",
"cordova-plugin-webview-checker": "^1.0.1",
"cordova-plugin-whitelist": "^1.3.4",
"cordova-plugin-x-socialsharing": "^6.0.2",
"cordova-plugin-zip": "^3.1.0",
"cordova-zip-plugin": "git+https://github.com/swayangjit/jjdltc-cordova-plugin-zip.git",
"cordova.plugins.diagnostic": "^5.0.2",
"core-js": "^2.6.10",
"dayjs": "1.9.8",
"dom-to-image": "^2.6.0",
"es6-promise-plugin": "^4.2.2",
"grapheme-splitter": "^1.0.4",
"ionic-plugin-keyboard": "^2.2.1",
"ionic4-rating": "^1.0.9",
"jspdf": "^2.0.0",
"lodash-es": "^4.17.20",
"ng-recaptcha": "^5.0.0",
"ngx-chips": "2.0.2",
"rxjs": "^6.5.3",
"sb-cordova-plugin-customtabs": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-customtabs.git",
"sb-cordova-plugin-db": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-db.git#release-3.1.0",
"sb-cordova-plugin-sync": "git+https://github.com/project-sunbird/sb-cordova-plugin-sync.git#release-3.2.0",
"sb-cordova-plugin-utility": "git+https://github.com/Sunbird-Ed/sb-cordova-plugin-utility.git#release-3.1.0",
"sb-svg2pdf": "0.0.9",
"tslib": "^1.10.0",
"x2js": "^3.3.0",
"zone.js": "~0.8.29"
},
"config": {
"ionic_source_map_type": "inline-source-map",
"ionic_webpack": "./config/webpack.config.js",
"ionic_sass": "./config/sass.config.js",
"ionic_enable_lint": false
},
"devDependencies": {
"@angular-devkit/architect": "0.13.9",
"@angular-devkit/build-angular": "0.13.9",
"@angular-devkit/core": "~7.3.8",
"@angular-devkit/schematics": "~7.3.8",
"@angular/cli": "~7.3.8",
"@angular/compiler": "~7.2.2",
"@angular/compiler-cli": "~7.2.2",
"@angular/language-service": "~7.2.2",
"@angularclass/hmr": "^2.1.3",
"@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": "~1.5.1",
"@ionic/v4-migration-tslint": "^1.7.1",
"@project-sunbird/telemetry-sdk": "0.0.26",
"@types/jest": "^25.2.1",
"@types/node": "12.11.5",
"babel-jest": "^25.4.0",
"babel-polyfill": "^6.26.0",
"fs-extra": "^8.1.0",
"jest": "^25.4.0",
"sonarqube-scanner": "^2.5.0",
"ts-node": "^8.4.1",
"tslint": "~5.16.0",
"typescript": "~3.1.6"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"com.jjdltc.cordova.plugin.zip": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-whitelist": {},
"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-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-sunbirdsplash": {},
"cordova-plugin-file-support": {},
"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.plugins.diagnostic": {
"ANDROID_SUPPORT_VERSION": "28.+"
},
"cordova-plugin-openrap": {},
"cordova-plugin-webview-checker": {},
"sb-cordova-plugin-utility": {},
"cordova-plugin-printer": {},
"cordova-plugin-fcm-with-dependecy-updated": {
"FCM_CORE_VERSION": "16.0.9",
"FCM_VERSION": "18.0.0",
"GRADLE_TOOLS_VERSION": "3.5.0",
"GOOGLE_SERVICES_VERSION": "4.2.0",
"ANDROID_DEFAULT_NOTIFICATION_ICON": "@mipmap/ic_launcher"
},
"com.telerik.plugins.nativepagetransitions": {},
"sb-cordova-plugin-sync": {},
"cordova-plugin-proguard": {},
"cordova-plugin-androidx-adapter": {},
"cordova-plugin-inappupdatemanager": {}
},
"platforms": [
"android"
]
},
"jest": {
"browser": false,
"globals": {
"cordova": true
},
"setupFiles": [
"<rootDir>/src/__tests__/setup.js"
],
"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/"
],
"testMatch": [
"**/?(*.)(spec).ts"
],
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"transform": {
"^.+\\.(ts|js)$": "babel-jest"
},
"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"
},
"transformIgnorePatterns": [],
"coveragePathIgnorePatterns": [
"<rootDir>/src/app/*/*.module.ts",
"<rootDir>/src/app/animations/*.ts"
]
}
}