Question:

Name some of the attributes of package.json?

Answer:

Following are the attributes of Package.json

  • name - name of the package

  • version - version of the package

  • description - description of the package

  • homepage - homepage of the package

  • author - author of the package

  • contributors - name of the contributors to the package

  • dependencies - list of dependencies. npm automatically installs all the dependencies mentioned here in the node_module folder of the package.

  • repository - repository type and url of the package

  • main - entry point of the package

  • keywords - keywords


Keywords:

© 2017 QuizBucket.org