2020-10-05 12:56:27 +00:00
|
|
|
{
|
|
|
|
"name": "moodlemobile",
|
2023-11-10 14:51:36 +00:00
|
|
|
"version": "4.4.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-07-10 11:28:11 +00:00
|
|
|
"postinstall": "patch-package && cd cordova-plugin-moodleapp && npm install",
|
2023-05-18 11:59:02 +00:00
|
|
|
"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": {
|
2024-01-23 14:03:58 +00:00
|
|
|
"@angular/animations": "^17.1.0",
|
|
|
|
"@angular/common": "^17.1.0",
|
|
|
|
"@angular/compiler": "^17.1.0",
|
|
|
|
"@angular/core": "^17.1.0",
|
|
|
|
"@angular/forms": "^17.1.0",
|
|
|
|
"@angular/platform-browser": "^17.1.0",
|
|
|
|
"@angular/platform-browser-dynamic": "^17.1.0",
|
|
|
|
"@angular/router": "^17.1.0",
|
2024-01-24 12:44:10 +00:00
|
|
|
"@awesome-cordova-plugins/badge": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/camera": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/clipboard": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/core": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/device": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/diagnostic": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/file": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/file-opener": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/file-transfer": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/geolocation": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/http": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/in-app-browser": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/ionic-webview": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/keyboard": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/local-notifications": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/media-capture": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/network": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/push": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/splash-screen": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/sqlite": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/status-bar": "^6.6.0",
|
|
|
|
"@awesome-cordova-plugins/web-intent": "^6.6.0",
|
2024-01-23 13:24:41 +00:00
|
|
|
"@ionic/angular": "^7.6.5",
|
2024-01-23 14:03:58 +00:00
|
|
|
"@ionic/cordova-builders": "^10.1.1",
|
2023-11-23 10:54:08 +00:00
|
|
|
"@moodlehq/cordova-plugin-advanced-http": "3.3.1-moodle.1",
|
2023-07-27 09:14:23 +00:00
|
|
|
"@moodlehq/cordova-plugin-camera": "6.0.0-moodle.2",
|
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",
|
2024-01-22 09:10:02 +00:00
|
|
|
"@moodlehq/cordova-plugin-ionic-webview": "5.0.0-moodle.3",
|
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",
|
2024-01-17 11:13:45 +00:00
|
|
|
"@moodlehq/cordova-plugin-statusbar": "4.0.0-moodle.3",
|
2022-01-14 11:11:20 +00:00
|
|
|
"@moodlehq/cordova-plugin-zip": "3.1.0-moodle.1",
|
2023-08-28 12:55:30 +00:00
|
|
|
"@moodlehq/phonegap-plugin-push": "4.0.0-moodle.7",
|
2023-11-23 10:54:08 +00:00
|
|
|
"@ngx-translate/core": "^15.0.0",
|
|
|
|
"@ngx-translate/http-loader": "^8.0.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"@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",
|
2024-01-17 15:14:29 +00:00
|
|
|
"cordova": "^12.0.0",
|
2024-01-17 15:06:17 +00:00
|
|
|
"cordova-android": "^12.0.1",
|
2023-06-12 11:18:43 +00:00
|
|
|
"cordova-clipboard": "^1.3.0",
|
2024-01-17 15:06:17 +00:00
|
|
|
"cordova-ios": "^7.0.1",
|
2023-06-12 11:18:43 +00:00
|
|
|
"cordova-plugin-add-swift-support": "^2.0.2",
|
|
|
|
"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",
|
2024-01-22 13:37:38 +00:00
|
|
|
"cordova-plugin-geolocation": "^5.0.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"cordova-plugin-ionic-keyboard": "^2.2.0",
|
2022-10-06 13:44:32 +00:00
|
|
|
"cordova-plugin-media-capture": "3.0.3",
|
2023-06-12 11:18:43 +00:00
|
|
|
"cordova-plugin-network-information": "^3.0.0",
|
|
|
|
"cordova-plugin-prevent-override": "^1.0.1",
|
2024-01-22 13:37:38 +00:00
|
|
|
"cordova-plugin-screen-orientation": "^3.0.4",
|
2023-06-12 11:18:43 +00:00
|
|
|
"cordova-plugin-wkuserscript": "^1.0.1",
|
|
|
|
"cordova-plugin-wkwebview-cookies": "^1.0.1",
|
|
|
|
"cordova-sqlite-storage": "^6.1.0",
|
2024-01-22 13:37:38 +00:00
|
|
|
"cordova.plugins.diagnostic": "^7.1.4",
|
2023-06-12 11:18:43 +00:00
|
|
|
"core-js": "^3.9.1",
|
|
|
|
"es6-promise-plugin": "^4.2.2",
|
2023-11-23 10:54:08 +00:00
|
|
|
"ionicons": "^7.0.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"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",
|
2023-11-23 10:54:08 +00:00
|
|
|
"rxjs": "~7.8.0",
|
2023-11-20 15:46:29 +00:00
|
|
|
"swiper": "^11.0.3",
|
2023-06-12 11:18:43 +00:00
|
|
|
"ts-md5": "^1.2.7",
|
2023-11-23 10:54:08 +00:00
|
|
|
"tslib": "^2.3.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"video.js": "^7.21.1",
|
2024-01-23 14:03:58 +00:00
|
|
|
"zone.js": "~0.14.3"
|
2020-10-05 12:56:27 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-01-23 14:03:58 +00:00
|
|
|
"@angular-builders/custom-webpack": "^17.0.0",
|
|
|
|
"@angular-devkit/build-angular": "^17.1.0",
|
|
|
|
"@angular-eslint/builder": "^17.1.0",
|
|
|
|
"@angular-eslint/eslint-plugin": "^17.1.0",
|
|
|
|
"@angular-eslint/eslint-plugin-template": "^17.1.0",
|
|
|
|
"@angular-eslint/schematics": "^17.1.0",
|
|
|
|
"@angular-eslint/template-parser": "^17.1.0",
|
|
|
|
"@angular/cli": "^17.1.0",
|
|
|
|
"@angular/compiler-cli": "^17.1.0",
|
|
|
|
"@angular/language-service": "^17.1.0",
|
2023-11-23 10:54:08 +00:00
|
|
|
"@ionic/angular-toolkit": "^10.0.0",
|
2024-01-17 15:14:29 +00:00
|
|
|
"@ionic/cli": "^7.2.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"@types/faker": "^5.1.3",
|
|
|
|
"@types/jest": "^26.0.24",
|
2023-11-23 10:54:08 +00:00
|
|
|
"@types/node": "^18.0.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"@types/resize-observer-browser": "^0.1.5",
|
2023-11-23 10:54:08 +00:00
|
|
|
"@types/webpack-env": "^1.18.4",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
|
|
"@typescript-eslint/parser": "^6.0.0",
|
2024-01-24 10:25:19 +00:00
|
|
|
"check-es-compat": "3.2.0",
|
2023-07-05 08:43:57 +00:00
|
|
|
"concurrently": "^8.2.0",
|
2023-06-09 08:51:56 +00:00
|
|
|
"cordova-plugin-moodleapp": "file:cordova-plugin-moodleapp",
|
2023-06-12 11:18:43 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2023-11-23 10:54:08 +00:00
|
|
|
"eslint": "^8.0.0",
|
|
|
|
"eslint-plugin-deprecation": "^2.0.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"eslint-plugin-header": "^3.1.1",
|
2023-11-23 10:54:08 +00:00
|
|
|
"eslint-plugin-jest": "^27.6.0",
|
|
|
|
"eslint-plugin-jsdoc": "^46.9.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
2023-11-23 10:54:08 +00:00
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
2023-06-12 11:18:43 +00:00
|
|
|
"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",
|
2023-11-23 10:54:08 +00:00
|
|
|
"jest": "^29.7.0",
|
2023-11-27 14:57:51 +00:00
|
|
|
"jest-preset-angular": "^13.1.4",
|
2023-06-12 11:18:43 +00:00
|
|
|
"jsonc-parser": "^2.3.1",
|
2023-11-29 11:18:36 +00:00
|
|
|
"minimatch": "^9.0.3",
|
2023-11-23 10:54:08 +00:00
|
|
|
"native-run": "^2.0.0",
|
2023-06-12 11:18:43 +00:00
|
|
|
"patch-package": "^6.5.0",
|
2023-11-30 13:39:28 +00:00
|
|
|
"terser-webpack-plugin": "^5.3.9",
|
2023-11-27 14:57:51 +00:00
|
|
|
"ts-jest": "^29.1.1",
|
2023-11-23 10:54:08 +00:00
|
|
|
"ts-node": "^8.3.0",
|
2024-01-23 14:03:58 +00:00
|
|
|
"typescript": "~5.3.3"
|
2020-10-05 12:56:27 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-11-23 10:54:08 +00:00
|
|
|
"node": ">=18.18.2 <19"
|
2020-10-06 07:54:01 +00:00
|
|
|
},
|
|
|
|
"cordova": {
|
|
|
|
"platforms": [
|
|
|
|
"android",
|
|
|
|
"ios"
|
|
|
|
],
|
|
|
|
"plugins": {
|
2023-09-26 14:54:41 +00:00
|
|
|
"@moodlehq/cordova-plugin-advanced-http": {
|
2022-02-08 06:56:45 +00:00
|
|
|
"ANDROIDBLACKLISTSECURESOCKETPROTOCOLS": "SSLv3,TLSv1"
|
|
|
|
},
|
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
|
|
|
},
|
2023-11-23 10:54:08 +00:00
|
|
|
"@moodlehq/cordova-plugin-file-transfer": {},
|
|
|
|
"@moodlehq/cordova-plugin-inappbrowser": {},
|
|
|
|
"@moodlehq/cordova-plugin-intent": {},
|
|
|
|
"@moodlehq/cordova-plugin-ionic-webview": {},
|
|
|
|
"@moodlehq/cordova-plugin-local-notification": {
|
|
|
|
"ANDROID_SUPPORT_V4_VERSION": "26.+"
|
|
|
|
},
|
|
|
|
"@moodlehq/cordova-plugin-qrscanner": {},
|
|
|
|
"@moodlehq/cordova-plugin-statusbar": {},
|
|
|
|
"@moodlehq/cordova-plugin-zip": {},
|
|
|
|
"@moodlehq/phonegap-plugin-push": {
|
|
|
|
"ANDROIDX_CORE_VERSION": "1.6.+",
|
|
|
|
"FCM_VERSION": "23.+"
|
|
|
|
},
|
|
|
|
"cordova-clipboard": {},
|
|
|
|
"cordova-plugin-androidx-adapter": {},
|
|
|
|
"cordova-plugin-badge": {},
|
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
|
|
|
},
|
|
|
|
"cordova-plugin-ionic-keyboard": {},
|
|
|
|
"cordova-plugin-media-capture": {},
|
2024-01-16 10:41:51 +00:00
|
|
|
"cordova-plugin-moodleapp": {},
|
2020-10-06 07:54:01 +00:00
|
|
|
"cordova-plugin-network-information": {},
|
2023-11-23 10:54:08 +00:00
|
|
|
"cordova-plugin-prevent-override": {},
|
|
|
|
"cordova-plugin-screen-orientation": {},
|
2020-10-06 07:54:01 +00:00
|
|
|
"cordova-plugin-wkuserscript": {},
|
|
|
|
"cordova-plugin-wkwebview-cookies": {},
|
|
|
|
"cordova-sqlite-storage": {},
|
|
|
|
"cordova.plugins.diagnostic": {
|
2022-02-08 06:56:45 +00:00
|
|
|
"ANDROID_SUPPORT_VERSION": "28.+",
|
|
|
|
"ANDROIDX_VERSION": "1.0.0",
|
2024-01-17 15:06:17 +00:00
|
|
|
"ANDROIDX_APPCOMPAT_VERSION": "1.6.1"
|
2020-10-06 07:54:01 +00:00
|
|
|
},
|
2023-11-23 10:54:08 +00:00
|
|
|
"nl.kingsquare.cordova.background-audio": {}
|
2020-10-06 07:54:01 +00:00
|
|
|
}
|
2020-10-05 12:56:27 +00:00
|
|
|
}
|
2024-01-18 08:43:01 +00:00
|
|
|
}
|