Browse Source

fix release

Daniel Zlotin 6 years ago
parent
commit
314648482b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      scripts/release.js

+ 1
- 0
scripts/release.js View File

48
 }
48
 }
49
 
49
 
50
 function copyNpmRc() {
50
 function copyNpmRc() {
51
+  exec.execSync(`rm -f package-lock.json`);
51
   const npmrcPath = p.resolve(`${__dirname}/.npmrc`);
52
   const npmrcPath = p.resolve(`${__dirname}/.npmrc`);
52
   execSync(`cp -rf ${npmrcPath} .`);
53
   execSync(`cp -rf ${npmrcPath} .`);
53
 }
54
 }