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

(cherry picked from commit 0ca37b7)
  • Loading branch information
sodatea committed Oct 10, 2019
1 parent e71c884 commit c8e45dc
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 @@ -170,8 +170,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 c8e45dc

Please sign in to comment.