diff --git a/__tests__/spec/migrate.js b/__tests__/spec/migrate.js index 0ce15f1da1..06bfbc5db7 100644 --- a/__tests__/spec/migrate.js +++ b/__tests__/spec/migrate.js @@ -72,7 +72,7 @@ describe('migrate test prototype', () => { ]) expect(scripts).toEqual({ - dev: 'govuk-prototype-kit dev', + dev: 'govuk-prototype-kit dev || npm install && govuk-prototype-kit dev', serve: 'govuk-prototype-kit serve', start: 'govuk-prototype-kit start' }) diff --git a/bin/cli b/bin/cli index f1e82d0784..7dcad950f4 100755 --- a/bin/cli +++ b/bin/cli @@ -57,7 +57,7 @@ usage-data-config.json const packageJson = { scripts: { - dev: 'govuk-prototype-kit dev', + dev: 'govuk-prototype-kit dev || npm install && govuk-prototype-kit dev', serve: 'govuk-prototype-kit serve', start: 'govuk-prototype-kit start' }