Skip to content

Commit c8e45dc

Browse files
committed
fix: correctly sort test scripts in package.json
The previous `keyOrder` referred to the legacy `test` & `e2e` commands that were removed / deprecated since 3.0 stable (cherry picked from commit 0ca37b7)
1 parent e71c884 commit c8e45dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@vue/cli/lib/Generator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ module.exports = class Generator {
170170
this.pkg.scripts = sortObject(this.pkg.scripts, [
171171
'serve',
172172
'build',
173-
'test',
174-
'e2e',
173+
'test:unit',
174+
'test:e2e',
175175
'lint',
176176
'deploy'
177177
])

0 commit comments

Comments
 (0)