.package.json File

The .package.json is used for both packages and the root package. A .package.json is located in the root of the project and has the form:

{
    "name": "<vendor>/<name>",
    "description": "<description>",
    "keywords": [ 
        <keywords> 
    ],
    "website": "<website>",
    "license": "<license>",
    "authors": [
        {
            "name": "<author-name>",
            "email": "<author-email>",
            "website": "<author-website>"
        }
    ],
    "options": {
        <options>
    },
    "modules": [
        <modules>
    ],
    "requires": [
        {
            "name": "<require-vendor>/<require-name>",
            "version": "<require-version>",
            "options": {
                <require-options>
            }
        }
    ],
    "assets": [
        {
            "name": "<asset-vendor>/<asset-name>",
            "version": "<asset-version>"
        }
    ],
    "install": [
        <install>
    ],
    "dev": {
        <dev-settings>
    }
}

Root Package Required Only

The name descriptor is only used in the root package.

Optional





requires




assets


install


dev