@robotical/martyblocks 2.1.12 → 2.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,6 +99,16 @@ buildAllAndCpToWebApp () {
99
99
  cpToWebapp
100
100
  }
101
101
 
102
+ buildAllAndCpToPhoneApp() {
103
+ local type="${1:-all}"
104
+ local NODE_ENV="${2:-development}"
105
+ # setDevelopment
106
+ cpReplacements
107
+ removeUnusedAssets
108
+ buildScratch $type $NODE_ENV
109
+ cpToPhoneApp
110
+ }
111
+
102
112
  setProduction () {
103
113
  cd $mblib
104
114
  npx node ./set-production.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotical/martyblocks",
3
- "version": "2.1.12",
3
+ "version": "2.1.14",
4
4
  "description": "MartyBlocks based on Scratch for Marty the Robot by Robotical",
5
5
  "main": "README.md",
6
6
  "scripts": {