2020-10-05 12:56:27 +00:00
|
|
|
{
|
|
|
|
"name": "moodlemobile",
|
2021-07-26 13:03:22 +00:00
|
|
|
"version": "3.9.6-dev",
|
2020-10-05 12:56:27 +00:00
|
|
|
"description": "The official app for Moodle.",
|
|
|
|
"author": {
|
|
|
|
"name": "Moodle Pty Ltd.",
|
|
|
|
"email": "mobile@moodle.com"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-08-05 10:08:21 +00:00
|
|
|
"url": "https://github.com/moodlehq/moodleapp.git"
|
2020-10-05 12:56:27 +00:00
|
|
|
},
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"licenses": [
|
|
|
|
{
|
|
|
|
"type": "Apache-2.0",
|
|
|
|
"url": "http://www.apache.org/licenses/LICENSE-2.0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"ng": "ng",
|
2021-09-02 09:55:01 +00:00
|
|
|
"start": "ionic serve --browser=$MOODLE_APP_BROWSER",
|
2021-09-13 08:38:36 +00:00
|
|
|
"serve:test": "NODE_ENV=testing ionic serve --no-open",
|
2021-01-14 11:39:29 +00:00
|
|
|
"build": "ionic build",
|
2021-04-21 14:16:56 +00:00
|
|
|
"build:prod": "NODE_ENV=production ionic build --prod",
|
2021-10-04 11:22:37 +00:00
|
|
|
"build:test": "NODE_ENV=testing ionic build --configuration=testing",
|
2021-06-10 12:50:28 +00:00
|
|
|
"dev:android": "ionic cordova run android --livereload",
|
2021-08-05 08:23:19 +00:00
|
|
|
"dev:ios": "ionic cordova run ios",
|
|
|
|
"prod:android": "NODE_ENV=production ionic cordova run android --prod",
|
|
|
|
"prod:ios": "NODE_ENV=production ionic cordova run ios --prod",
|
2021-02-01 16:27:28 +00:00
|
|
|
"test": "NODE_ENV=testing gulp && jest --verbose",
|
|
|
|
"test:ci": "NODE_ENV=testing gulp && jest -ci --runInBand --verbose",
|
|
|
|
"test:watch": "NODE_ENV=testing gulp watch & jest --watch",
|
|
|
|
"test:coverage": "NODE_ENV=testing gulp && jest --coverage",
|
2021-03-09 14:56:59 +00:00
|
|
|
"lint": "NODE_OPTIONS=--max-old-space-size=4096 ng lint",
|
2021-01-14 11:39:29 +00:00
|
|
|
"ionic:serve:before": "gulp",
|
2021-08-02 11:27:15 +00:00
|
|
|
"ionic:serve": "./scripts/serve.sh",
|
2021-01-14 11:39:29 +00:00
|
|
|
"ionic:build:before": "gulp"
|
2020-10-05 12:56:27 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-08-09 10:00:53 +00:00
|
|
|
"@angular/animations": "~10.0.14",
|
|
|
|
"@angular/common": "~10.0.14",
|
|
|
|
"@angular/core": "~10.0.14",
|
|
|
|
"@angular/forms": "~10.0.14",
|
|
|
|
"@angular/platform-browser": "~10.0.14",
|
|
|
|
"@angular/platform-browser-dynamic": "~10.0.14",
|
|
|
|
"@angular/router": "~10.0.14",
|
|
|
|
"@ionic-native/badge": "^5.33.0",
|
|
|
|
"@ionic-native/camera": "^5.33.0",
|
|
|
|
"@ionic-native/chooser": "^5.33.0",
|
|
|
|
"@ionic-native/clipboard": "^5.33.0",
|
|
|
|
"@ionic-native/core": "^5.33.0",
|
|
|
|
"@ionic-native/device": "^5.33.0",
|
|
|
|
"@ionic-native/diagnostic": "^5.33.0",
|
|
|
|
"@ionic-native/file": "^5.33.0",
|
|
|
|
"@ionic-native/file-opener": "^5.33.0",
|
|
|
|
"@ionic-native/file-transfer": "^5.33.0",
|
|
|
|
"@ionic-native/geolocation": "^5.33.0",
|
|
|
|
"@ionic-native/http": "^5.33.0",
|
|
|
|
"@ionic-native/in-app-browser": "^5.33.0",
|
|
|
|
"@ionic-native/ionic-webview": "^5.33.0",
|
|
|
|
"@ionic-native/keyboard": "^5.33.0",
|
|
|
|
"@ionic-native/local-notifications": "^5.33.0",
|
|
|
|
"@ionic-native/media": "^5.33.0",
|
|
|
|
"@ionic-native/media-capture": "^5.33.0",
|
|
|
|
"@ionic-native/network": "^5.33.0",
|
|
|
|
"@ionic-native/push": "^5.33.0",
|
|
|
|
"@ionic-native/qr-scanner": "^5.33.0",
|
|
|
|
"@ionic-native/splash-screen": "^5.33.0",
|
|
|
|
"@ionic-native/sqlite": "^5.33.0",
|
|
|
|
"@ionic-native/status-bar": "^5.33.0",
|
|
|
|
"@ionic-native/web-intent": "^5.33.0",
|
|
|
|
"@ionic-native/zip": "^5.33.0",
|
|
|
|
"@ionic/angular": "^5.6.6",
|
2021-07-22 15:24:55 +00:00
|
|
|
"@moodlehq/cordova-plugin-file-transfer": "1.7.1-moodle.2",
|
|
|
|
"@moodlehq/cordova-plugin-inappbrowser": "5.0.0-moodle.2",
|
2021-09-01 08:30:34 +00:00
|
|
|
"@moodlehq/cordova-plugin-ionic-webview": "5.0.0-moodle.1",
|
2021-07-21 09:29:46 +00:00
|
|
|
"@moodlehq/cordova-plugin-local-notification": "0.9.0-moodle.3",
|
2021-07-22 15:24:55 +00:00
|
|
|
"@moodlehq/cordova-plugin-qrscanner": "3.0.1-moodle.2",
|
2021-07-21 06:28:19 +00:00
|
|
|
"@moodlehq/phonegap-plugin-push": "2.0.0-moodle.2",
|
2021-07-26 13:03:22 +00:00
|
|
|
"@ngx-translate/core": "^13.0.0",
|
|
|
|
"@ngx-translate/http-loader": "^6.0.0",
|
|
|
|
"@types/chart.js": "^2.9.31",
|
2020-10-07 08:51:44 +00:00
|
|
|
"@types/cordova": "0.0.34",
|
2021-08-09 10:00:53 +00:00
|
|
|
"@types/dom-mediacapture-record": "^1.0.7",
|
2021-07-26 13:03:22 +00:00
|
|
|
"chart.js": "^2.9.4",
|
|
|
|
"com-darryncampbell-cordova-plugin-intent": "^1.3.0",
|
|
|
|
"cordova": "^10.0.0",
|
2021-08-09 10:00:53 +00:00
|
|
|
"cordova-android": "^9.1.0",
|
2021-07-26 13:03:22 +00:00
|
|
|
"cordova-android-support-gradle-release": "^3.0.1",
|
|
|
|
"cordova-clipboard": "^1.3.0",
|
|
|
|
"cordova-ios": "^6.2.0",
|
|
|
|
"cordova-plugin-add-swift-support": "^2.0.2",
|
|
|
|
"cordova-plugin-advanced-http": "^3.1.0",
|
|
|
|
"cordova-plugin-badge": "^0.8.8",
|
|
|
|
"cordova-plugin-camera": "^5.0.1",
|
|
|
|
"cordova-plugin-chooser": "^1.3.2",
|
|
|
|
"cordova-plugin-customurlscheme": "^5.0.2",
|
|
|
|
"cordova-plugin-device": "^2.0.3",
|
|
|
|
"cordova-plugin-file": "^6.0.2",
|
|
|
|
"cordova-plugin-file-opener2": "^3.0.5",
|
|
|
|
"cordova-plugin-geolocation": "^4.1.0",
|
|
|
|
"cordova-plugin-globalization": "^1.11.0",
|
|
|
|
"cordova-plugin-ionic-keyboard": "^2.2.0",
|
|
|
|
"cordova-plugin-media": "^5.0.3",
|
|
|
|
"cordova-plugin-media-capture": "^3.0.3",
|
|
|
|
"cordova-plugin-network-information": "^2.0.2",
|
|
|
|
"cordova-plugin-prevent-override": "^1.0.0",
|
|
|
|
"cordova-plugin-splashscreen": "^6.0.0",
|
|
|
|
"cordova-plugin-statusbar": "^2.4.3",
|
|
|
|
"cordova-plugin-whitelist": "^1.3.4",
|
|
|
|
"cordova-plugin-wkuserscript": "^1.0.0",
|
|
|
|
"cordova-plugin-wkwebview-cookies": "^1.0.0",
|
|
|
|
"cordova-plugin-zip": "^3.1.0",
|
|
|
|
"cordova-sqlite-storage": "^6.0.0",
|
|
|
|
"cordova-support-google-services": "^1.2.1",
|
|
|
|
"cordova.plugins.diagnostic": "^5.0.2",
|
|
|
|
"core-js": "^3.9.1",
|
|
|
|
"es6-promise-plugin": "^4.2.2",
|
2021-11-09 12:08:56 +00:00
|
|
|
"hammerjs": "^2.0.8",
|
2021-07-26 13:03:22 +00:00
|
|
|
"jszip": "^3.5.0",
|
2021-03-15 12:01:25 +00:00
|
|
|
"mathjax": "2.7.7",
|
2021-07-26 13:03:22 +00:00
|
|
|
"moment": "^2.29.0",
|
|
|
|
"nl.kingsquare.cordova.background-audio": "^1.0.1",
|
|
|
|
"rxjs": "~6.5.5",
|
|
|
|
"ts-md5": "^1.2.7",
|
|
|
|
"tslib": "^2.0.1",
|
|
|
|
"zone.js": "~0.10.3"
|
2020-10-05 12:56:27 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-09-23 15:19:09 +00:00
|
|
|
"@angular-builders/custom-webpack": "^10.0.1",
|
|
|
|
"@angular-devkit/architect": "^0.1202.7",
|
2021-08-09 10:00:53 +00:00
|
|
|
"@angular-devkit/build-angular": "~0.1000.8",
|
2021-07-26 13:03:22 +00:00
|
|
|
"@angular-eslint/builder": "^4.2.0",
|
|
|
|
"@angular-eslint/eslint-plugin": "^4.2.0",
|
|
|
|
"@angular-eslint/eslint-plugin-template": "^4.2.0",
|
|
|
|
"@angular-eslint/schematics": "^4.2.0",
|
|
|
|
"@angular-eslint/template-parser": "^4.2.0",
|
2021-08-09 10:00:53 +00:00
|
|
|
"@angular/cli": "~10.0.8",
|
|
|
|
"@angular/compiler": "~10.0.14",
|
|
|
|
"@angular/compiler-cli": "~10.0.14",
|
|
|
|
"@angular/language-service": "~10.0.14",
|
|
|
|
"@ionic/angular-toolkit": "^2.3.3",
|
2021-07-26 13:03:22 +00:00
|
|
|
"@ionic/cli": "^6.14.1",
|
|
|
|
"@types/faker": "^5.1.3",
|
|
|
|
"@types/node": "^12.12.64",
|
|
|
|
"@types/resize-observer-browser": "^0.1.5",
|
|
|
|
"@types/webpack-env": "^1.16.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
|
|
|
"@typescript-eslint/parser": "^4.22.0",
|
|
|
|
"check-es-compat": "^1.1.1",
|
2021-07-20 08:43:22 +00:00
|
|
|
"cordova-plugin-androidx-adapter": "^1.1.3",
|
2021-08-09 10:00:28 +00:00
|
|
|
"eslint": "^7.25.0",
|
2021-07-26 13:03:22 +00:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-plugin-header": "^3.1.1",
|
2021-08-09 10:00:28 +00:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
|
|
|
"eslint-plugin-jest": "^24.3.6",
|
|
|
|
"eslint-plugin-jsdoc": "^32.3.3",
|
2021-07-26 13:03:22 +00:00
|
|
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
|
|
"eslint-plugin-promise": "^5.1.0",
|
|
|
|
"faker": "^5.1.0",
|
|
|
|
"fs-extra": "^9.1.0",
|
2020-10-15 08:21:27 +00:00
|
|
|
"gulp": "4.0.2",
|
2021-07-26 13:03:22 +00:00
|
|
|
"gulp-clip-empty-files": "^0.1.2",
|
|
|
|
"gulp-concat": "^2.6.1",
|
|
|
|
"gulp-flatten": "^0.4.0",
|
|
|
|
"gulp-htmlmin": "^5.0.1",
|
|
|
|
"gulp-rename": "^2.0.0",
|
|
|
|
"gulp-slash": "^1.1.3",
|
|
|
|
"jest": "^26.5.2",
|
|
|
|
"jest-preset-angular": "^8.3.1",
|
|
|
|
"jsonc-parser": "^2.3.1",
|
2021-06-17 14:35:29 +00:00
|
|
|
"native-run": "^1.4.0",
|
2021-09-23 15:19:09 +00:00
|
|
|
"terser-webpack-plugin": "^4.2.3",
|
2021-07-26 13:03:22 +00:00
|
|
|
"ts-jest": "^26.4.1",
|
|
|
|
"ts-node": "~8.3.0",
|
2021-08-09 10:00:53 +00:00
|
|
|
"typescript": "^3.9.9"
|
2020-10-05 12:56:27 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-08-31 15:43:19 +00:00
|
|
|
"node": ">=14.15.0 <15"
|
2020-10-06 07:54:01 +00:00
|
|
|
},
|
|
|
|
"cordova": {
|
|
|
|
"platforms": [
|
|
|
|
"android",
|
|
|
|
"ios"
|
|
|
|
],
|
|
|
|
"plugins": {
|
2021-03-29 10:52:57 +00:00
|
|
|
"cordova-plugin-advanced-http": {},
|
2020-10-06 07:54:01 +00:00
|
|
|
"cordova-clipboard": {},
|
|
|
|
"cordova-plugin-badge": {},
|
|
|
|
"cordova-plugin-camera": {
|
|
|
|
"ANDROID_SUPPORT_V4_VERSION": "27.+"
|
|
|
|
},
|
|
|
|
"cordova-plugin-chooser": {},
|
|
|
|
"cordova-plugin-customurlscheme": {
|
|
|
|
"URL_SCHEME": "moodlemobile",
|
|
|
|
"ANDROID_SCHEME": " ",
|
|
|
|
"ANDROID_HOST": " ",
|
|
|
|
"ANDROID_PATHPREFIX": "/"
|
|
|
|
},
|
|
|
|
"cordova-plugin-device": {},
|
|
|
|
"cordova-plugin-file-opener2": {
|
|
|
|
"ANDROID_SUPPORT_V4_VERSION": "27.+"
|
|
|
|
},
|
|
|
|
"cordova-plugin-geolocation": {
|
2021-03-29 10:52:57 +00:00
|
|
|
"GPS_REQUIRED": "false"
|
2020-10-06 07:54:01 +00:00
|
|
|
},
|
2021-07-22 15:24:55 +00:00
|
|
|
"@moodlehq/cordova-plugin-inappbrowser": {},
|
2020-10-06 07:54:01 +00:00
|
|
|
"cordova-plugin-ionic-keyboard": {},
|
2021-09-01 08:30:34 +00:00
|
|
|
"@moodlehq/cordova-plugin-ionic-webview": {},
|
2021-07-22 15:24:55 +00:00
|
|
|
"@moodlehq/cordova-plugin-local-notification": {
|
2020-10-06 07:54:01 +00:00
|
|
|
"ANDROID_SUPPORT_V4_VERSION": "26.+"
|
|
|
|
},
|
|
|
|
"cordova-plugin-media-capture": {},
|
|
|
|
"cordova-plugin-media": {
|
|
|
|
"KEEP_AVAUDIOSESSION_ALWAYS_ACTIVE": "NO"
|
|
|
|
},
|
|
|
|
"cordova-plugin-network-information": {},
|
2021-07-22 15:24:55 +00:00
|
|
|
"@moodlehq/cordova-plugin-qrscanner": {},
|
2020-10-06 07:54:01 +00:00
|
|
|
"cordova-plugin-splashscreen": {},
|
|
|
|
"cordova-plugin-statusbar": {},
|
|
|
|
"cordova-plugin-whitelist": {},
|
|
|
|
"cordova-plugin-wkuserscript": {},
|
|
|
|
"cordova-plugin-wkwebview-cookies": {},
|
|
|
|
"cordova-plugin-zip": {},
|
|
|
|
"cordova-sqlite-storage": {},
|
2021-07-22 15:24:55 +00:00
|
|
|
"@moodlehq/phonegap-plugin-push": {
|
2021-07-21 06:28:19 +00:00
|
|
|
"ANDROID_SUPPORT_V13_VERSION": "28.0.0",
|
|
|
|
"FCM_VERSION": "18.+",
|
|
|
|
"IOS_FIREBASE_MESSAGING_VERSION": "~> 6.32.2"
|
2020-10-06 07:54:01 +00:00
|
|
|
},
|
|
|
|
"com-darryncampbell-cordova-plugin-intent": {},
|
|
|
|
"nl.kingsquare.cordova.background-audio": {},
|
|
|
|
"cordova-android-support-gradle-release": {
|
|
|
|
"ANDROID_SUPPORT_VERSION": "27.+"
|
|
|
|
},
|
|
|
|
"cordova.plugins.diagnostic": {
|
2021-01-27 12:20:38 +00:00
|
|
|
"ANDROID_SUPPORT_VERSION": "28.+"
|
2020-10-06 07:54:01 +00:00
|
|
|
},
|
|
|
|
"cordova-plugin-globalization": {},
|
2021-07-22 15:24:55 +00:00
|
|
|
"@moodlehq/cordova-plugin-file-transfer": {},
|
2021-07-20 08:43:22 +00:00
|
|
|
"cordova-plugin-prevent-override": {},
|
|
|
|
"cordova-plugin-androidx-adapter": {}
|
2020-10-06 07:54:01 +00:00
|
|
|
}
|
2020-12-09 14:37:11 +00:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2021-07-26 13:03:22 +00:00
|
|
|
"keytar": "^7.2.0"
|
2020-10-05 12:56:27 +00:00
|
|
|
}
|
2021-11-09 12:08:56 +00:00
|
|
|
}
|