Skip to content

Commit

Permalink
fix: only build on release
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 28, 2018
1 parent 0f5e7db commit dba0a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/app/package-scripts.js.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const linters = {
commitlint: script('commitlint --from origin/master', 'ensure that commits are in valid conventional-changelog format'),
<%_ } _%>
<%_ if (ts) { _%>
tsc: script('tsc -p <%- ts ? 'test' : '.' %> --noEmit', 'syntax check with tsc'),
tslint: script('tslint -p <%- ts ? 'test' : '.' %>', 'lint ts files'),
tsc: script('tsc -p <%- mocha ? 'test' : '.' %> --noEmit', 'syntax check with tsc'),
tslint: script('tslint -p <%- mocha ? 'test' : '.' %>', 'lint ts files'),
<%_ } _%>
}

Expand Down

0 comments on commit dba0a63

Please sign in to comment.