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,6 +42,7 @@
42 42
     "pretest-e2e-ios": "npm run build",
43 43
     "test-e2e-ios": "node ./scripts/test.e2e.ios.js",
44 44
     "test-all": "node ./scripts/test.all.js",
45
+    "prerelease": "npm run build",
45 46
     "release": "node ./scripts/release.js"
46 47
   },
47 48
   "peerDependencies": {

+ 1
- 0
scripts/clean.js View File

@@ -14,4 +14,5 @@ function run() {
14 14
   exec.execSync(`rm -rf playground/android/app/build`);
15 15
   exec.execSync(`rm -rf AndroidE2E/android/build`);
16 16
   exec.execSync(`rm -rf AndroidE2E/android/app/build`);
17
+  exec.execSync(`rm -rf lib/dist`);
17 18
 }