Browse Source

build before release

Daniel Zlotin 6 years ago
parent
commit
f15f5dae7c
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      package.json
  2. 1
    0
      scripts/clean.js

+ 1
- 0
package.json View File

42
     "pretest-e2e-ios": "npm run build",
42
     "pretest-e2e-ios": "npm run build",
43
     "test-e2e-ios": "node ./scripts/test.e2e.ios.js",
43
     "test-e2e-ios": "node ./scripts/test.e2e.ios.js",
44
     "test-all": "node ./scripts/test.all.js",
44
     "test-all": "node ./scripts/test.all.js",
45
+    "prerelease": "npm run build",
45
     "release": "node ./scripts/release.js"
46
     "release": "node ./scripts/release.js"
46
   },
47
   },
47
   "peerDependencies": {
48
   "peerDependencies": {

+ 1
- 0
scripts/clean.js View File

14
   exec.execSync(`rm -rf playground/android/app/build`);
14
   exec.execSync(`rm -rf playground/android/app/build`);
15
   exec.execSync(`rm -rf AndroidE2E/android/build`);
15
   exec.execSync(`rm -rf AndroidE2E/android/build`);
16
   exec.execSync(`rm -rf AndroidE2E/android/app/build`);
16
   exec.execSync(`rm -rf AndroidE2E/android/app/build`);
17
+  exec.execSync(`rm -rf lib/dist`);
17
 }
18
 }