0:00
uh hello guys welcome to this video so
0:02
in this video I will show you how to
0:04
activate npm scripts inside vs code so
0:08
that you can directly execute your
0:11
application uh using the npm script so
0:13
npm scripts is built in inside vs code
0:17
so if you're not seeing npm script
0:19
simply click these three arrows three
0:22
dots right here and here you will find
0:27
scripts and simply click it and now now
0:30
you will see this section npm scripts
0:32
appear right here and npm scripts are
0:34
nothing but the no scripts that you have
0:36
declared inside your package.json file
0:39
so this is your package.json file and
0:42
here you declare all the scripts that
0:44
are necessary for your nodejs
0:45
application so specifically in the
0:47
script section we have declared two
0:49
scripts which is test and start right
0:51
here and you can see both these scripts
0:54
are appearing and we have this run
0:57
Button as well so you can click the Run
1:00
button and it is very convenient to run
1:04
these scripts automatically by pressing
1:06
a button so as I click the button you
1:09
will see the application will
1:18
so it's that simple you can see you can
1:21
just click the Run button so the script
1:23
will will run your application
1:42
so you can see you can declare as many
1:44
scripts so all those scripts will appear
1:46
right here in the npm script section so
1:49
you can click the Run button and now you
1:51
can see that your application has
1:55
started so in this way you can actually
1:58
integrate the npm script and executed
2:03
sidebar so it's built in inside vs code
2:06
you don't need any custom extension for
2:08
this simply click these three dots and
2:11
you will find this npm script section
2:13
which are built in simply click it and
2:15
you will find out all the scripts that
2:17
you declared in the package.json file
2:19
will appear right here so one by one you
2:22
can click those and run those scripts so
2:25
thank you very much guys for watching
2:26
this video and also check out my website
2:28
as well free media tools.com uh which
2:31
contains thousands of tools regarding
2:33
audio video and image and I will be
2:36
seeing you in the next video