Skip to content

Commit

Permalink
fix: add prepare step
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jun 1, 2018
1 parent 64a13d1 commit dd927fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/generators/app.ts
Expand Up @@ -262,6 +262,7 @@ class App extends Generator {
this.pjson.scripts.test = 'echo NO TESTS'
}
if (this.ts) {
this.pjson.scripts.prepare = 'rm -rf lib && tsc'
this.pjson.scripts.prepack = 'rm -rf lib && tsc'
}
if (['plugin', 'multi'].includes(this.type)) {
Expand Down

0 comments on commit dd927fb

Please sign in to comment.