Skip to content

DGM-3780-2023-Spring-Full-Term/NPM-Documentation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

NPM Documentation

NPM is a vital tool for web developers in today's development landscape; it is crucial to understand what it is for, how it works, and when to use it. This assignment is for you to document some basics about the tool, why it is so essential, and some notes that will be handy for you to remember.

Steps to complete the assignment

  1. Create an index.md file on the main branch.
  2. Follow the prompts below to create a markdown document inside the index.md file. For a guide on markdown, use the GitHub Markdown Documentation.
  3. Once your index.md file is complete, go to the repo settings on Github and then to the Pages tab.
  4. To enable Github Pages, select a source branch. Select the main branch, leave the /root as the default and click save.
  5. You site will publish automatially. It could take a few minutes to publish.
  6. Leave the visibility private. Changing this to public will result in a 0 for the assignment.
  7. Optional: Choose a theme you like.

Assignment Prompt

For your personal documentation, please answer the following questions:

  1. What is NPM? What does it do? Why is it an important tool?
  2. What problems does NPM Slove?
  3. Describe the 3 main parts of NPM.
  4. What is the package.json file?
  5. What is the scripts section of the package.json file? How do you use it? What are the default commands, and how do you use your own?
  6. What are dependencies? What does this section define? What are dev dependencies? Why is it important to define dev dependencies vs dependencies?
  7. How do you install dependencies? Where do dependencies get installed?
  8. When running scripts with NPM, where does NPM look (path) for the dependencies of those scripts?
  9. Name 3 NPM commands, and why they are important.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published