Add content for running scripts (#2386)

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
pull/2384/head^2
Guy Khmelnitsky 2 years ago committed by GitHub
parent 40935a7044
commit 9e8c426ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      content/roadmaps/107-nodejs/content/102-nodejs-npm/104-running-scripts.md

@ -1,4 +1,8 @@
# Running Scripts # Running Scripts
Scripts are defined in the `package.json` file under the **scripts** tag.
To run a script called "myScript" -- run `npm run myScript` and it'll execute the commands defined in the `package.json` file
<ResourceGroupTitle>Free Content</ResourceGroupTitle> <ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.geeksforgeeks.org/introduction-to-npm-scripts/'>Introduction to NPM Scripts</BadgeLink>
<BadgeLink colorScheme='blue' badgeText='Official Website' href='https://docs.npmjs.com/downloading-and-installing-packages-locally'>Running Scripts</BadgeLink> <BadgeLink colorScheme='blue' badgeText='Official Website' href='https://docs.npmjs.com/downloading-and-installing-packages-locally'>Running Scripts</BadgeLink>

Loading…
Cancel
Save