esoftplay 0.0.123-c → 0.0.123-d

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.
package/bin/cli.js CHANGED
@@ -423,7 +423,7 @@ function consoleError(msg) {
423
423
  }
424
424
 
425
425
  function consoleSucces(msg) {
426
- console.log("\x1b[32m", msg + " ", "\x1b[0m")
426
+ console.log("\x1b[32m", msg + " ", "\x1b[0m")
427
427
  }
428
428
 
429
429
  function checkApp() {
@@ -716,7 +716,9 @@ function build() {
716
716
  {
717
717
  name: "1. Web (for Hosting)",
718
718
  cmd: "npx expo export:web",
719
- pre: () => { }
719
+ pre: () => {
720
+
721
+ }
720
722
  },
721
723
  ]
722
724
  :
@@ -826,6 +828,8 @@ function build() {
826
828
  if (pre) pre()
827
829
  consoleSucces("⚙⚙⚙ ... \n" + cmd)
828
830
  command(cmd)
831
+ if (fs.existsSync('./build/post.js'))
832
+ command('node ./build/post.js')
829
833
  configAvailable(false)
830
834
  devClientPos(appjson)
831
835
  } else if (d === false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.123-c",
3
+ "version": "0.0.123-d",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",
package/publisher.js CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  const shell = require('child_process').execSync;
2
3
  const packJson = require("./package.json")
3
4
  const fs = require('fs');