Skip to content

Commit

Permalink
Creating fallback for people who haven't installed npm modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliecarey committed Jan 19, 2023
1 parent f544e5c commit 2f8e3f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/spec/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})
Expand Down
2 changes: 1 addition & 1 deletion bin/cli
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit 2f8e3f5

Please sign in to comment.