Comments on: A Quick Command To See the Available Scripts https://frontendmasters.com/blog/a-quick-command-to-see-the-available-scripts/ Helping Your Journey to Senior Developer Wed, 03 Apr 2024 17:11:20 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: M. Inam https://frontendmasters.com/blog/a-quick-command-to-see-the-available-scripts/#comment-2000 Wed, 03 Apr 2024 17:11:20 +0000 https://frontendmasters.com/blog/?p=1505#comment-2000 In the VS code, bottom left corner has NPM scripts in the side panel below file explorer I use that 🤗

]]>
By: Chris Coyier https://frontendmasters.com/blog/a-quick-command-to-see-the-available-scripts/#comment-1999 Wed, 03 Apr 2024 15:47:42 +0000 https://frontendmasters.com/blog/?p=1505#comment-1999 In reply to Elliot Bentley.

Indeed! Didn’t know that. Nice that you don’t need to install anything other than npm which you already have installed if you’re using npm scripts. But I sure do like the more colorful output of jq.

]]>
By: Elliot Bentley https://frontendmasters.com/blog/a-quick-command-to-see-the-available-scripts/#comment-1968 Tue, 02 Apr 2024 13:50:55 +0000 https://frontendmasters.com/blog/?p=1505#comment-1968 Maybe I’m missing something here — doesn’t the command npm run do this already?

e.g. Running npm run in the repo for my personal website outputs this.

Lifecycle scripts included in elliotbentley.com@0.0.2:
  start
    astro dev

available via `npm run-script`:
  build
    astro build && cp _redirects dist/
  astro
    astro
]]>
By: Scott Vandehey https://frontendmasters.com/blog/a-quick-command-to-see-the-available-scripts/#comment-1950 Mon, 01 Apr 2024 23:52:17 +0000 https://frontendmasters.com/blog/?p=1505#comment-1950 You can also just type npm run

]]>