Skip to content

Commit 0ca37b7

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
1 parent e585fc3 commit 0ca37b7

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
@@ -222,8 +222,8 @@ module.exports = class Generator {
222222
this.pkg.scripts = sortObject(this.pkg.scripts, [
223223
'serve',
224224
'build',
225-
'test',
226-
'e2e',
225+
'test:unit',
226+
'test:e2e',
227227
'lint',
228228
'deploy'
229229
])

0 commit comments

Comments
 (0)