Skip to content

Commit

Permalink
fix: correctly sort test scripts in package.json
Browse files Browse the repository at this point in the history
The previous `keyOrder` referred to the legacy `test` & `e2e` commands
that were removed / deprecated since 3.0 stable
  • Loading branch information
haoqunjiang committed Sep 3, 2019
1 parent e585fc3 commit 0ca37b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@vue/cli/lib/Generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ module.exports = class Generator {
this.pkg.scripts = sortObject(this.pkg.scripts, [
'serve',
'build',
'test',
'e2e',
'test:unit',
'test:e2e',
'lint',
'deploy'
])
Expand Down

0 comments on commit 0ca37b7

Please sign in to comment.