2017-10-18 10:20:40 +00:00
|
|
|
{
|
|
|
|
"name": "moodlemobile",
|
2020-01-13 07:13:22 +00:00
|
|
|
"version": "3.8.1",
|
2017-10-18 10:20:40 +00:00
|
|
|
"description": "The official app for Moodle.",
|
|
|
|
"author": {
|
|
|
|
"name": "Moodle Pty Ltd.",
|
|
|
|
"email": "mobile@moodle.com"
|
|
|
|
},
|
2018-02-23 12:02:56 +00:00
|
|
|
"config": {
|
2018-06-07 09:22:51 +00:00
|
|
|
"ionic_webpack": "./config/webpack.config.js",
|
|
|
|
"ionic_copy": "./config/copy.config.js",
|
|
|
|
"ionic_sass": "./config/sass.config.js"
|
2018-02-23 12:02:56 +00:00
|
|
|
},
|
2017-10-18 10:20:40 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/moodlehq/moodlemobile2.git"
|
|
|
|
},
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"licenses": [
|
|
|
|
{
|
|
|
|
"type": "Apache-2.0",
|
|
|
|
"url": "http://www.apache.org/licenses/LICENSE-2.0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"scripts": {
|
2019-07-23 07:36:46 +00:00
|
|
|
"setup": "npm install && npx cordova prepare && npx gulp",
|
|
|
|
"clean": "npx ionic-app-scripts clean",
|
|
|
|
"build": "npx ionic-app-scripts build",
|
|
|
|
"lint": "npx ionic-app-scripts lint",
|
2019-07-26 14:44:07 +00:00
|
|
|
"ionic:build": "node --max-old-space-size=16384 ./node_modules/@ionic/app-scripts/bin/ionic-app-scripts.js build",
|
2019-07-23 07:36:46 +00:00
|
|
|
"ionic:serve:before": "npx gulp",
|
|
|
|
"ionic:serve": "npx gulp watch & npx ionic-app-scripts serve -b --devapp --address=0.0.0.0",
|
|
|
|
"ionic:build:before": "npx gulp",
|
|
|
|
"ionic:watch:before": "npx gulp",
|
|
|
|
"ionic:build:after": "npx gulp copy-component-templates",
|
|
|
|
"preionic:build": "npx gulp",
|
|
|
|
"postionic:build": "npx gulp copy-component-templates",
|
|
|
|
"desktop.pack": "npx electron-builder --dir",
|
|
|
|
"desktop.dist": "npx electron-builder -p never",
|
|
|
|
"windows.store": "npx electron-windows-store --input-directory .\\desktop\\dist\\win-unpacked --output-directory .\\desktop\\store -a .\\resources\\desktop -m .\\desktop\\assets\\windows\\AppXManifest.xml --package-version 0.0.0.0 --package-name MoodleDesktop"
|
2017-10-18 10:20:40 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-01-09 14:40:20 +00:00
|
|
|
"@angular/animations": "^5.2.10",
|
|
|
|
"@angular/common": "^5.2.10",
|
|
|
|
"@angular/compiler": "^5.2.10",
|
|
|
|
"@angular/compiler-cli": "^5.2.10",
|
|
|
|
"@angular/core": "^5.2.10",
|
|
|
|
"@angular/forms": "^5.2.10",
|
|
|
|
"@angular/http": "^5.2.10",
|
|
|
|
"@angular/platform-browser": "^5.2.10",
|
|
|
|
"@angular/platform-browser-dynamic": "^5.2.10",
|
|
|
|
"@ionic-native/badge": "^4.17.0",
|
|
|
|
"@ionic-native/camera": "^4.17.0",
|
|
|
|
"@ionic-native/clipboard": "^4.17.0",
|
|
|
|
"@ionic-native/core": "^4.11.0",
|
|
|
|
"@ionic-native/device": "^4.17.0",
|
|
|
|
"@ionic-native/file": "^4.17.0",
|
|
|
|
"@ionic-native/file-opener": "^4.17.0",
|
|
|
|
"@ionic-native/file-transfer": "^4.17.0",
|
|
|
|
"@ionic-native/geolocation": "^4.17.0",
|
|
|
|
"@ionic-native/globalization": "^4.17.0",
|
|
|
|
"@ionic-native/in-app-browser": "^4.17.0",
|
|
|
|
"@ionic-native/keyboard": "^4.17.0",
|
|
|
|
"@ionic-native/local-notifications": "^4.17.0",
|
|
|
|
"@ionic-native/media-capture": "^4.17.0",
|
|
|
|
"@ionic-native/network": "^4.17.0",
|
|
|
|
"@ionic-native/push": "^4.17.0",
|
|
|
|
"@ionic-native/screen-orientation": "^4.17.0",
|
|
|
|
"@ionic-native/splash-screen": "^4.17.0",
|
|
|
|
"@ionic-native/sqlite": "^4.17.0",
|
|
|
|
"@ionic-native/status-bar": "^4.17.0",
|
|
|
|
"@ionic-native/web-intent": "^4.17.0",
|
|
|
|
"@ionic-native/zip": "^4.17.0",
|
|
|
|
"@ngx-translate/core": "^8.0.0",
|
|
|
|
"@ngx-translate/http-loader": "^2.0.1",
|
|
|
|
"ajv": "^6.10.2",
|
|
|
|
"chart.js": "^2.7.2",
|
|
|
|
"com-darryncampbell-cordova-plugin-intent": "^1.3.0",
|
2019-10-03 14:57:08 +00:00
|
|
|
"cordova": "9.0.0",
|
2019-09-03 10:05:26 +00:00
|
|
|
"cordova-android": "8.0.0",
|
2020-01-09 14:40:20 +00:00
|
|
|
"cordova-android-support-gradle-release": "^3.0.1",
|
|
|
|
"cordova-clipboard": "^1.3.0",
|
2019-09-03 10:05:26 +00:00
|
|
|
"cordova-ios": "5.0.1",
|
2020-01-09 14:40:20 +00:00
|
|
|
"cordova-plugin-badge": "^0.8.8",
|
|
|
|
"cordova-plugin-camera": "^4.1.0",
|
|
|
|
"cordova-plugin-customurlscheme": "^4.4.0",
|
|
|
|
"cordova-plugin-device": "^2.0.3",
|
|
|
|
"cordova-plugin-file": "^6.0.2",
|
|
|
|
"cordova-plugin-file-opener2": "^2.2.1",
|
|
|
|
"cordova-plugin-file-transfer": "^1.7.1",
|
|
|
|
"cordova-plugin-geolocation": "^4.0.2",
|
|
|
|
"cordova-plugin-globalization": "^1.11.0",
|
|
|
|
"cordova-plugin-inappbrowser": "^3.1.0",
|
2019-12-12 10:03:40 +00:00
|
|
|
"cordova-plugin-ionic-keyboard": "2.1.3",
|
2019-05-21 09:58:16 +00:00
|
|
|
"cordova-plugin-local-notification": "git+https://github.com/moodlemobile/cordova-plugin-local-notification.git#moodle",
|
2020-01-09 14:40:20 +00:00
|
|
|
"cordova-plugin-media-capture": "^3.0.3",
|
|
|
|
"cordova-plugin-network-information": "^2.0.2",
|
|
|
|
"cordova-plugin-screen-orientation": "^3.0.2",
|
|
|
|
"cordova-plugin-splashscreen": "^5.0.3",
|
|
|
|
"cordova-plugin-statusbar": "^2.4.3",
|
|
|
|
"cordova-plugin-whitelist": "^1.3.4",
|
|
|
|
"cordova-plugin-zip": "^3.1.0",
|
|
|
|
"cordova-sqlite-storage": "^3.4.0",
|
|
|
|
"cordova-support-google-services": "^1.2.1",
|
|
|
|
"es6-promise-plugin": "^4.2.2",
|
|
|
|
"font-awesome": "^4.7.0",
|
2019-02-15 15:06:54 +00:00
|
|
|
"ionic-angular": "3.9.3",
|
2020-01-09 14:40:20 +00:00
|
|
|
"ionicons": "^3.0.0",
|
|
|
|
"jszip": "^3.1.5",
|
2019-12-20 07:48:00 +00:00
|
|
|
"mathjax": "2.7.7",
|
2020-01-09 14:40:20 +00:00
|
|
|
"moment": "^2.22.2",
|
|
|
|
"nl.kingsquare.cordova.background-audio": "^1.0.1",
|
|
|
|
"phonegap-plugin-multidex": "^1.0.0",
|
2019-04-25 15:48:18 +00:00
|
|
|
"phonegap-plugin-push": "git+https://github.com/moodlemobile/phonegap-plugin-push.git#moodle-v3",
|
2020-01-09 14:40:20 +00:00
|
|
|
"promise.prototype.finally": "^3.1.0",
|
|
|
|
"rxjs": "^5.5.11",
|
|
|
|
"sw-toolbox": "^3.6.0",
|
|
|
|
"ts-md5": "^1.2.4",
|
|
|
|
"web-animations-js": "^2.3.1",
|
|
|
|
"zone.js": "^0.8.26"
|
2017-10-18 10:20:40 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-07-23 07:36:46 +00:00
|
|
|
"@ionic/app-scripts": "3.2.2",
|
2020-01-23 16:58:49 +00:00
|
|
|
"@types/cordova": "^0.0.34",
|
|
|
|
"@types/cordova-plugin-file-transfer": "^0.0.3",
|
|
|
|
"@types/cordova-plugin-globalization": "^0.0.3",
|
|
|
|
"@types/cordova-plugin-network-information": "^0.0.3",
|
|
|
|
"@types/node": "^8.10.19",
|
|
|
|
"@types/promise.prototype.finally": "^2.0.2",
|
2020-01-09 14:40:20 +00:00
|
|
|
"electron-builder-lib": "^20.23.1",
|
|
|
|
"electron-rebuild": "^1.8.1",
|
2019-07-23 07:36:46 +00:00
|
|
|
"gulp": "4.0.2",
|
2020-01-09 14:40:20 +00:00
|
|
|
"gulp-clip-empty-files": "^0.1.2",
|
|
|
|
"gulp-concat": "^2.6.1",
|
|
|
|
"gulp-flatten": "^0.4.0",
|
|
|
|
"gulp-rename": "^1.3.0",
|
|
|
|
"gulp-slash": "^1.1.3",
|
|
|
|
"lodash.template": "^4.5.0",
|
|
|
|
"node-loader": "^0.6.0",
|
|
|
|
"through": "^2.3.8",
|
|
|
|
"typescript": "^2.6.2",
|
2020-01-24 14:00:11 +00:00
|
|
|
"vinyl": "^2.2.0",
|
2020-01-09 14:40:20 +00:00
|
|
|
"webpack-merge": "^4.1.2"
|
2018-07-10 11:09:58 +00:00
|
|
|
},
|
2017-10-30 15:40:50 +00:00
|
|
|
"browser": {
|
|
|
|
"electron": false
|
2018-06-20 11:01:08 +00:00
|
|
|
},
|
|
|
|
"cordova": {
|
|
|
|
"platforms": [
|
|
|
|
"android",
|
|
|
|
"ios"
|
2018-11-19 16:40:04 +00:00
|
|
|
],
|
|
|
|
"plugins": {
|
2018-11-26 10:36:14 +00:00
|
|
|
"com-darryncampbell-cordova-plugin-intent": {},
|
2018-12-11 11:02:05 +00:00
|
|
|
"cordova-android-support-gradle-release": {
|
|
|
|
"ANDROID_SUPPORT_VERSION": "27.1.0"
|
|
|
|
},
|
|
|
|
"cordova-clipboard": {},
|
|
|
|
"cordova-plugin-badge": {},
|
|
|
|
"cordova-plugin-camera": {},
|
|
|
|
"cordova-plugin-customurlscheme": {
|
|
|
|
"URL_SCHEME": "moodlemobile"
|
|
|
|
},
|
|
|
|
"cordova-plugin-device": {},
|
|
|
|
"cordova-plugin-file": {},
|
|
|
|
"cordova-plugin-file-opener2": {},
|
|
|
|
"cordova-plugin-file-transfer": {},
|
|
|
|
"cordova-plugin-globalization": {},
|
|
|
|
"cordova-plugin-inappbrowser": {},
|
2018-12-11 11:20:26 +00:00
|
|
|
"cordova-plugin-ionic-keyboard": {},
|
2019-01-23 12:01:59 +00:00
|
|
|
"cordova-plugin-local-notification": {},
|
2018-12-11 11:02:05 +00:00
|
|
|
"cordova-plugin-media-capture": {},
|
|
|
|
"cordova-plugin-network-information": {},
|
|
|
|
"cordova-plugin-screen-orientation": {},
|
|
|
|
"cordova-plugin-splashscreen": {},
|
|
|
|
"cordova-plugin-statusbar": {},
|
|
|
|
"cordova-plugin-whitelist": {},
|
|
|
|
"cordova-plugin-zip": {},
|
2018-11-06 10:26:06 +00:00
|
|
|
"cordova-sqlite-storage": {},
|
2018-12-11 11:02:05 +00:00
|
|
|
"nl.kingsquare.cordova.background-audio": {},
|
|
|
|
"phonegap-plugin-push": {
|
2019-01-31 14:45:45 +00:00
|
|
|
"ANDROID_SUPPORT_V13_VERSION": "27.+",
|
2019-03-13 08:46:25 +00:00
|
|
|
"FCM_VERSION": "17.0.+"
|
2019-09-26 11:13:32 +00:00
|
|
|
},
|
|
|
|
"cordova-plugin-geolocation": {
|
|
|
|
"GEOLOCATION_USAGE_DESCRIPTION": "To locate you"
|
2018-12-11 11:02:05 +00:00
|
|
|
}
|
2018-11-19 16:40:04 +00:00
|
|
|
}
|
2018-07-10 11:09:58 +00:00
|
|
|
},
|
|
|
|
"main": "desktop/electron.js",
|
|
|
|
"build": {
|
|
|
|
"appId": "com.moodle.moodledesktop",
|
|
|
|
"productName": "Moodle Desktop",
|
|
|
|
"files": [
|
|
|
|
"desktop/electron.js",
|
|
|
|
"www/**/*",
|
|
|
|
"!config",
|
|
|
|
"!desktop/assets",
|
|
|
|
"!desktop/dist",
|
|
|
|
"!node_modules",
|
|
|
|
"!**/e2e",
|
|
|
|
"!hooks",
|
|
|
|
"!platforms",
|
|
|
|
"!plugins",
|
|
|
|
"!resources",
|
|
|
|
"!src",
|
|
|
|
"!**/*.scss"
|
|
|
|
],
|
|
|
|
"directories": {
|
|
|
|
"output": "desktop/dist"
|
|
|
|
},
|
|
|
|
"protocols": [
|
|
|
|
{
|
|
|
|
"name": "Moodle Mobile URL",
|
|
|
|
"schemes": [
|
|
|
|
"moodlemobile"
|
|
|
|
],
|
|
|
|
"role": "Viewer"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"compression": "maximum",
|
2019-06-28 11:51:50 +00:00
|
|
|
"electronVersion": "4.2.5",
|
2018-07-10 11:09:58 +00:00
|
|
|
"mac": {
|
|
|
|
"category": "public.app-category.education",
|
|
|
|
"icon": "resources/desktop/icon.icns",
|
|
|
|
"target": "mas",
|
2020-01-13 07:13:22 +00:00
|
|
|
"bundleVersion": "3.8.1",
|
2018-07-10 11:09:58 +00:00
|
|
|
"extendInfo": {
|
|
|
|
"ElectronTeamID": "2NU57U5PAW"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"win": {
|
|
|
|
"target": "appx",
|
|
|
|
"icon": "resources/desktop/icon.ico"
|
|
|
|
},
|
|
|
|
"linux": {
|
2018-11-29 08:09:27 +00:00
|
|
|
"category": "Education",
|
|
|
|
"target": "AppImage"
|
2018-07-10 11:09:58 +00:00
|
|
|
},
|
|
|
|
"snap": {
|
|
|
|
"confinement": "classic"
|
2019-03-20 15:15:07 +00:00
|
|
|
},
|
|
|
|
"nsis": {
|
|
|
|
"deleteAppDataOnUninstall": true
|
2018-07-10 11:09:58 +00:00
|
|
|
}
|
2017-10-18 10:20:40 +00:00
|
|
|
}
|
2019-12-11 07:52:38 +00:00
|
|
|
}
|