Skip to content

Commit

Permalink
chore: update preview shortcut to use the preview command
Browse files Browse the repository at this point in the history
The preview command uses the newest Redoc product instead of the previous generations.
  • Loading branch information
adamaltman authored Sep 9, 2024
1 parent 091a853 commit 02997c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"lint": "npx @redocly/cli@latest lint",
"preview": "npx @redocly/cli preview-docs"
"preview": "npx @redocly/cli preview"
},
"keywords": [
"OpenAPI",
Expand All @@ -19,4 +19,4 @@
"dependencies": {
"@redocly/cli": "latest"
}
}
}

0 comments on commit 02997c5

Please sign in to comment.