1
0
Fork 0
mirror of https://github.com/sensebox/blockly-app synced 2025-02-21 21:53:59 +01:00

switch build commands to --prod

This commit is contained in:
Norwin 2019-02-16 19:29:57 +01:00
parent 7c2754cc24
commit 1e067456ae
2 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View file

@ -33,3 +33,5 @@ $RECYCLE.BIN/
.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
reedu-android.keystore

View file

@ -7,10 +7,12 @@
"scripts": {
"start": "ionic-app-scripts serve",
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"android:build": "ionic cordova build android",
"build": "ionic-app-scripts build --prod",
"android:build": "ionic cordova build --release --prod android",
"android:build:debug": "ionic cordova build android",
"android:deploy": "adb install -r platforms/android/app/build/outputs/apk/debug/app-debug.apk",
"android:start": "adb shell am force-stop de.sensebox.blockly; adb shell am start -n de.sensebox.blockly/de.sensebox.blockly.MainActivity; sleep 5; adb logcat | grep -F \"`adb shell ps | grep de.sensebox.blockly | awk -F' ' '{print $2}'`\"",
"android:dev": "npm run android:build:debug && npm run android:deploy && npm run android:start",
"lint": "ionic-app-scripts lint"
},
"dependencies": {