|
|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
{
|
|
|
|
|
"name": "@openstapps/app",
|
|
|
|
|
"description": "The generic app tailored to fulfill needs of German universities, written using Ionic Framework.",
|
|
|
|
|
"version": "3.1.0",
|
|
|
|
|
"version": "3.1.1",
|
|
|
|
|
"private": true,
|
|
|
|
|
"license": "GPL-3.0-only",
|
|
|
|
|
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>",
|
|
|
|
|
@@ -15,7 +15,7 @@
|
|
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"analyze": "webpack-bundle-analyzer www/stats.json",
|
|
|
|
|
"build": "pnpm check-icons && ng build --configuration=production --stats-json && webpack-bundle-analyzer www/stats.json --mode static --report www/bundle-info.html",
|
|
|
|
|
"build": "pnpm check-icons && ng build --configuration=production --stats-json && webpack-bundle-analyzer www/stats.json --mode static --report www/bundle-info.html --no-open",
|
|
|
|
|
"build:analyze": "npm run build:stats && npm run analyze",
|
|
|
|
|
"build:android": "ionic capacitor build android --no-open && cd android && ./gradlew clean assemble && cd ..",
|
|
|
|
|
"build:prod": "ng build --configuration=production",
|
|
|
|
|
@@ -42,7 +42,7 @@
|
|
|
|
|
"postinstall": "jetify && echo \"skipping jetify in production mode\"",
|
|
|
|
|
"preview": "http-server www --p 8101 -o",
|
|
|
|
|
"push": "git push && git push origin \"v$npm_package_version\"",
|
|
|
|
|
"resources:ios": "capacitor-assets generate --ios --iconBackgroundColor $(grep -oP \"(?<=@include ion-color\\(primary, )#[a-fA-F0-9]{3,6}\" src/theme/colors.scss) --splashBackgroundColor $(grep -oP \"(?<=@include ion-color\\(primary, )#[a-fA-F0-9]{3,6}\" src/theme/colors.scss)",
|
|
|
|
|
"resources:ios": "capacitor-assets generate --ios --iconBackgroundColor $(grep -oE \"^@include ion-color\\(primary, #[a-fA-F0-9]{3,6}\" src/theme/colors.scss | grep -oE \"#[a-fA-F0-9]{3,6}\") --splashBackgroundColor $(grep -oE \"^@include ion-color\\(primary, #[a-fA-F0-9]{3,6}\" src/theme/colors.scss | grep -oE \"#[a-fA-F0-9]{3,6}\")",
|
|
|
|
|
"run:android": "ionic capacitor run android --livereload --external",
|
|
|
|
|
"start": "ionic serve",
|
|
|
|
|
"start:external": "ionic serve --external",
|
|
|
|
|
|