Extended project definition

suggest change

Some of the additional attributes are parsed by the npm website like repository, bugs or homepage and shown in the infobox for this packages

{
  "main": "server.js",  
  "repository" :  {
    "type": "git",
    "url": "git+https://github.com/<accountname>/<repositoryname>.git"
  },
  "bugs": {
    "url": "https://github.com/<accountname>/<repositoryname>/issues"
  },
  "homepage": "https://github.com/<accountname>/<repositoryname>#readme",
  "files": [
    "server.js", // source files
    "README.md", // additional files
    "lib" // folder with all included files
  ]
}

Field | Description | — | — | main | Entry script for this package. This script is returned when a user requires the package. | repository | Location and type of the public repository | bugs | Bugtracker for this package (e.g. github) | homepage | Homepage for this package or the general project | files | List of files and folders which should be downloaded when a user does a npm install <packagename>|

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents