2020-10-05 12:56:27 +00:00
|
|
|
{
|
|
|
|
"name": "moodlemobile",
|
2023-06-12 08:34:35 +00:00
|
|
|
"version": "4.3.0",
|
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",
|
2023-07-05 08:43:57 +00:00
|
|
|
"dev:android": "concurrently \"npm run dev:android:app\" \"npm run dev:android:cordova\"",
|
|
|
|
"dev:android:app": "ionic cordova run android --livereload --external --ssl",
|
|
|
|
"dev:android:cordova": "npm run dev --prefix cordova-plugin-moodleapp",
|
2021-08-05 08:23:19 +00:00
|
|
|
"dev:ios": "ionic cordova run ios",
|
2023-07-05 08:43:57 +00:00
|
|
|
"prod:android": "npm run prod --prefix cordova-plugin-moodleapp && NODE_ENV=production ionic cordova run android --prod",
|
2021-08-05 08:23:19 +00:00
|
|
|
"prod:ios": "NODE_ENV=production ionic cordova run ios --prod",
|
2022-05-11 12:51:58 +00:00
|
|
|
"storybook": "start-storybook -p 6006",
|
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",
|
2022-12-01 11:41:00 +00:00
|
|
|
"lint": "NODE_OPTIONS=--max-old-space-size=8192 ng lint",
|
2021-01-14 11:39:29 +00:00
|
|
|
"ionic:serve:before": "gulp",
|
2022-03-28 12:54:47 +00:00
|
|
|
"ionic:serve": "cross-env-shell ./scripts/serve.sh",
|
2022-05-18 14:22:13 +00:00
|
|
|
"ionic:build:before": "gulp",
|
2023-05-18 11:59:02 +00:00
|
|
|
"postinstall": "patch-package",
|
|
|
|
"lang:update-langpacks": "./scripts/update_langpacks.sh",
|
|
|
|
"lang:detect-langpacks": "./scripts/update_langpacks.sh detect",
|
|
|
|
"lang:create-langindex": "./scripts/create_langindex.sh"
|
2020-10-05 12:56:27 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-06-12 11:18:43 +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.36.0",
|
|
|
|
"@ionic-native/camera": "^5.36.0",
|
|
|
|
"@ionic-native/chooser": "^5.36.0",
|
|
|
|
"@ionic-native/clipboard": "^5.36.0",
|
|
|
|
"@ionic-native/core": "^5.36.0",
|
|
|
|
"@ionic-native/device": "^5.36.0",
|
|
|
|
"@ionic-native/diagnostic": "^5.36.0",
|
|
|
|
"@ionic-native/file": "^5.36.0",
|
|
|
|
"@ionic-native/file-opener": "^5.36.0",
|
|
|
|
"@ionic-native/file-transfer": "^5.36.0",
|
|
|
|
"@ionic-native/geolocation": "^5.36.0",
|
|
|
|
"@ionic-native/http": "^5.36.0",
|
|
|
|
"@ionic-native/in-app-browser": "^5.36.0",
|
|
|
|
"@ionic-native/ionic-webview": "^5.36.0",
|
|
|
|
"@ionic-native/keyboard": "^5.36.0",
|
|
|
|
"@ionic-native/local-notifications": "^5.36.0",
|
|
|
|
"@ionic-native/media-capture": "^5.36.0",
|
|
|
|
"@ionic-native/network": "^5.36.0",
|
|
|
|
"@ionic-native/qr-scanner": "^5.36.0",
|
|
|
|
"@ionic-native/splash-screen": "^5.36.0",
|
|
|
|
"@ionic-native/sqlite": "^5.36.0",
|
|
|
|
"@ionic-native/status-bar": "^5.36.0",
|
|
|
|
"@ionic-native/web-intent": "^5.36.0",
|
|
|
|
"@ionic-native/zip": "^5.36.0",
|
|
|
|
"@ionic/angular": "^5.9.4",
|
2023-05-04 14:22:31 +00:00
|
|
|
"@moodlehq/cordova-plugin-camera": "6.0.0-moodle.1",
|
2022-01-14 11:11:20 +00:00
|
|
|
"@moodlehq/cordova-plugin-file-transfer": "1.7.1-moodle.5",
|
2021-11-22 10:22:00 +00:00
|
|
|
"@moodlehq/cordova-plugin-inappbrowser": "5.0.0-moodle.3",
|
2023-06-13 17:10:39 +00:00
|
|
|
"@moodlehq/cordova-plugin-intent": "2.2.0-moodle.2",
|
2021-09-01 08:30:34 +00:00
|
|
|
"@moodlehq/cordova-plugin-ionic-webview": "5.0.0-moodle.1",
|
2023-02-20 11:29:26 +00:00
|
|
|
"@moodlehq/cordova-plugin-local-notification": "0.9.0-moodle.11",
|
|
|
|
"@moodlehq/cordova-plugin-qrscanner": "3.0.1-moodle.5",
|
2022-01-14 11:11:20 +00:00
|
|
|
"@moodlehq/cordova-plugin-zip": "3.1.0-moodle.1",
|
2023-04-21 04:17:46 +00:00
|
|
|
"@moodlehq/ionic-native-push": "5.36.0-moodle.2",
|
2023-06-06 13:30:46 +00:00
|
|
|
"@moodlehq/phonegap-plugin-push": "4.0.0-moodle.6",
|
2023-06-12 11:18:43 +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",
|
2022-11-23 11:47:06 +00:00
|
|
|
"@types/dom-mediacapture-record": "1.0.7",
|
2023-06-12 11:18:43 +00:00
|
|
|
"chart.js": "^2.9.4",
|
|
|
|
"cordova": "^11.0.0",
|
|
|
|
"cordova-android": "^11.0.0",
|
|
|
|
"cordova-clipboard": "^1.3.0",
|
|
|
|
"cordova-ios": "^6.2.0",
|
|
|
|
"cordova-plugin-add-swift-support": "^2.0.2",
|
|
|
|
"cordova-plugin-advanced-http": "^3.3.1",
|
|
|
|
"cordova-plugin-androidx-adapter": "^1.1.3",
|
|
|
|
"cordova-plugin-badge": "^0.8.9",
|
|
|
|
"cordova-plugin-chooser": "^1.3.2",
|
|
|
|
"cordova-plugin-customurlscheme": "^5.0.2",
|
|
|
|
"cordova-plugin-device": "^2.1.0",
|
2022-10-06 10:01:47 +00:00
|
|
|
"cordova-plugin-file": "6.0.2",
|
2023-06-12 11:18:43 +00:00
|
|
|
"cordova-plugin-file-opener2": "^4.0.0",
|
|
|
|
"cordova-plugin-geolocation": "^4.1.0",
|
|
|
|
"cordova-plugin-ionic-keyboard": "^2.2.0",
|
2022-10-06 13:44:32 +00:00
|
|
|
"cordova-plugin-media-capture": "3.0.3",
|
2023-07-05 08:43:57 +00:00
|
|
|
"cordova-plugin-moodleapp": "file:cordova-plugin-moodleapp",
|
2023-06-12 11:18:43 +00:00
|
|
|
"cordova-plugin-network-information": "^3.0.0",
|
|
|
|
"cordova-plugin-prevent-override": "^1.0.1",
|
|
|
|
"cordova-plugin-screen-orientation": "^3.0.2",
|
|
|
|
"cordova-plugin-statusbar": "^3.0.0",
|
|
|
|
"cordova-plugin-wkuserscript": "^1.0.1",
|
|
|
|
"cordova-plugin-wkwebview-cookies": "^1.0.1",
|
|
|
|
"cordova-sqlite-storage": "^6.1.0",
|
|
|
|
"cordova.plugins.diagnostic": "^7.1.1",
|
|
|
|
"core-js": "^3.9.1",
|
|
|
|
"es6-promise-plugin": "^4.2.2",
|
|
|
|
"hammerjs": "^2.0.8",
|
|
|
|
"jszip": "^3.7.1",
|
2022-10-11 05:29:46 +00:00
|
|
|
"mathjax": "2.7.9",
|
2023-06-12 11:18:43 +00:00
|
|
|
"moment": "^2.29.4",
|
|
|
|
"moment-timezone": "^0.5.38",
|
|
|
|
"mp3-mediarecorder": "4.0.5",
|
|
|
|
"nl.kingsquare.cordova.background-audio": "^1.0.1",
|
|
|
|
"ogv": "^1.8.9",
|
|
|
|
"rxjs": "~6.5.5",
|
|
|
|
"ts-md5": "^1.2.7",
|
|
|
|
"tslib": "^2.3.1",
|
|
|
|
"video.js": "^7.21.1",
|
|
|
|
"zone.js": "~0.10.3"
|
2020-10-05 12:56:27 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-06-12 11:18:43 +00:00
|
|
|
"@angular-builders/custom-webpack": "^10.0.1",
|
|
|
|
"@angular-devkit/architect": "^0.1202.7",
|
|
|
|
"@angular-devkit/build-angular": "~0.1000.8",
|
|
|
|
"@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",
|
|
|
|
"@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",
|
|
|
|
"@ionic/cli": "^6.19.0",
|
|
|
|
"@storybook/addon-controls": "~6.1.21",
|
|
|
|
"@storybook/angular": "~6.1.21",
|
|
|
|
"@types/faker": "^5.1.3",
|
|
|
|
"@types/jest": "^26.0.24",
|
|
|
|
"@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",
|
|
|
|
"compare-versions": "^4.1.4",
|
2023-07-05 08:43:57 +00:00
|
|
|
"concurrently": "^8.2.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"eslint": "^7.25.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-plugin-header": "^3.1.1",
|
|
|
|
"eslint-plugin-import": "^2.22.1",
|
|
|
|
"eslint-plugin-jest": "^24.3.6",
|
|
|
|
"eslint-plugin-jsdoc": "^32.3.3",
|
|
|
|
"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",
|
2023-06-12 11:18:43 +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",
|
|
|
|
"jest-raw-loader": "^1.0.1",
|
|
|
|
"jsonc-parser": "^2.3.1",
|
|
|
|
"minimatch": "^5.1.0",
|
|
|
|
"native-run": "^1.4.0",
|
|
|
|
"patch-package": "^6.5.0",
|
|
|
|
"terser-webpack-plugin": "^4.2.3",
|
|
|
|
"ts-jest": "^26.4.1",
|
|
|
|
"ts-node": "~8.3.0",
|
|
|
|
"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": {
|
2022-02-08 06:56:45 +00:00
|
|
|
"cordova-plugin-advanced-http": {
|
|
|
|
"ANDROIDBLACKLISTSECURESOCKETPROTOCOLS": "SSLv3,TLSv1"
|
|
|
|
},
|
2020-10-06 07:54:01 +00:00
|
|
|
"cordova-clipboard": {},
|
|
|
|
"cordova-plugin-badge": {},
|
2023-05-04 14:22:31 +00:00
|
|
|
"@moodlehq/cordova-plugin-camera": {
|
2022-02-08 06:56:45 +00:00
|
|
|
"ANDROIDX_CORE_VERSION": "1.6.+"
|
2020-10-06 07:54:01 +00:00
|
|
|
},
|
|
|
|
"cordova-plugin-chooser": {},
|
|
|
|
"cordova-plugin-customurlscheme": {
|
|
|
|
"URL_SCHEME": "moodlemobile",
|
|
|
|
"ANDROID_SCHEME": " ",
|
|
|
|
"ANDROID_HOST": " ",
|
|
|
|
"ANDROID_PATHPREFIX": "/"
|
|
|
|
},
|
|
|
|
"cordova-plugin-device": {},
|
2023-02-22 13:21:52 +00:00
|
|
|
"cordova-plugin-file-opener2": {},
|
2020-10-06 07:54:01 +00:00
|
|
|
"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-network-information": {},
|
2021-07-22 15:24:55 +00:00
|
|
|
"@moodlehq/cordova-plugin-qrscanner": {},
|
2020-10-06 07:54:01 +00:00
|
|
|
"cordova-plugin-statusbar": {},
|
|
|
|
"cordova-plugin-wkuserscript": {},
|
|
|
|
"cordova-plugin-wkwebview-cookies": {},
|
2021-12-14 07:50:37 +00:00
|
|
|
"@moodlehq/cordova-plugin-zip": {},
|
2020-10-06 07:54:01 +00:00
|
|
|
"cordova-sqlite-storage": {},
|
2021-07-22 15:24:55 +00:00
|
|
|
"@moodlehq/phonegap-plugin-push": {
|
2022-08-23 13:17:15 +00:00
|
|
|
"ANDROIDX_CORE_VERSION": "1.6.+",
|
|
|
|
"FCM_VERSION": "23.+"
|
2020-10-06 07:54:01 +00:00
|
|
|
},
|
2022-10-26 12:00:38 +00:00
|
|
|
"@moodlehq/cordova-plugin-intent": {},
|
2020-10-06 07:54:01 +00:00
|
|
|
"nl.kingsquare.cordova.background-audio": {},
|
|
|
|
"cordova.plugins.diagnostic": {
|
2022-02-08 06:56:45 +00:00
|
|
|
"ANDROID_SUPPORT_VERSION": "28.+",
|
|
|
|
"ANDROIDX_VERSION": "1.0.0",
|
|
|
|
"ANDROIDX_APPCOMPAT_VERSION": "1.3.1"
|
2020-10-06 07:54:01 +00:00
|
|
|
},
|
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": {},
|
2022-04-07 10:17:42 +00:00
|
|
|
"cordova-plugin-androidx-adapter": {},
|
2023-07-05 08:43:57 +00:00
|
|
|
"cordova-plugin-screen-orientation": {},
|
|
|
|
"cordova-plugin-moodleapp": {}
|
2020-10-06 07:54:01 +00:00
|
|
|
}
|
2020-12-09 14:37:11 +00:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2022-05-04 06:35:15 +00:00
|
|
|
"keytar": "^7.2.0"
|
2020-10-05 12:56:27 +00:00
|
|
|
}
|
2022-11-23 09:22:17 +00:00
|
|
|
}
|