This markfown describes a JSON Schema for package.json.
Using mdconf.
- $ref: #/definitions/schema
This is schema for package.json
- type: object
- title: schema
root of package.json has some propertie
This is module name.
- type: string
This is package version.
- type: string
This is package description
- type: string
The main field is a module ID that is the primary entry point to your program.
- type: string
This helps people discover your package as it's listed in 'npm search'.
- type: array
- type: string
- type: string
You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it.
- type: string
Listed followings is required
- name
Dependencies are specified with a simple hash of package name to version range. The version range is a string which has one or more space-separated descriptors. Dependencies can also be identified with a tarball or git URL.
- type: object
- title: dependencies