Browse Source

fix release

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

+ 1
- 0
scripts/release.js View File

45
 }
45
 }
46
 
46
 
47
 function createNpmRc() {
47
 function createNpmRc() {
48
+  exec.execSync(`rm -f package-lock.json`);
48
   const content = `
49
   const content = `
49
 email=\${NPM_EMAIL}
50
 email=\${NPM_EMAIL}
50
 //registry.npmjs.org/:_authToken=\${NPM_TOKEN}
51
 //registry.npmjs.org/:_authToken=\${NPM_TOKEN}