{
    "additionalProperties": false,
    "description": "JSON Schema for `ng-package.json` description file",
    "properties": {
        "$schema": {
            "type": "string"
        },
        "assets": {
            "default": [],
            "description": "A list of files which are simply copied into the package.",
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "deleteDestPath": {
            "default": true,
            "description": "Delete output path before build.",
            "type": "boolean"
        },
        "dest": {
            "default": "dist",
            "description": "Destination folder where distributable binaries of the Angular library are written (default: `dist`).",
            "type": "string"
        },
        "keepLifecycleScripts": {
            "default": false,
            "description": "Enable this to keep the 'scripts' section in package.json. Read the NPM Blog on 'Package install scripts vulnerability' \u2013 http://blog.npmjs.org/post/141702881055/package-install-scripts-vulnerability",
            "type": "boolean"
        },
        "lib": {
            "additionalProperties": false,
            "default": {},
            "description": "Description of the library's entry point.",
            "properties": {
                "amdId": {
                    "description": "ID for AMD module. By default, uses a value derived from the entry point's module ID (i.e., name property in package.json)",
                    "type": "string"
                },
                "cssUrl": {
                    "default": "inline",
                    "description": "Embed assets in css file using data URIs - see https://css-tricks.com/data-uris",
                    "enum": [
                        "none",
                        "inline"
                    ],
                    "type": "string"
                },
                "entryFile": {
                    "default": "src/public_api.ts",
                    "description": "Entry file to the public API (default: `src/public_api.ts`).",
                    "type": "string"
                },
                "flatModuleFile": {
                    "description": "Filename of the auto-generated flat module file (if empty, defaults to the package name as given in `package.json`).",
                    "type": "string"
                },
                "styleIncludePaths": {
                    "description": "Any additional paths that should be used to resolve style imports",
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "umdId": {
                    "description": "ID for the UMD bundle. By default, uses a value derived from the entry point's module ID (i.e., name property in package.json)",
                    "type": "string"
                },
                "umdModuleIds": {
                    "additionalProperties": true,
                    "description": "A map of external dependencies and their correspondent UMD module identifiers. Map keys are TypeScript / EcmaScript module identifiers. Map values are UMD module ids. The purpose of this map is to correctly bundle an UMD module file (with `rollup`). By default, `rxjs`, `tslib` and `@angular/*` dependency symbols are supported.",
                    "type": "object"
                }
            },
            "type": "object"
        },
        "whitelistedNonPeerDependencies": {
            "default": [
                "tslib"
            ],
            "description": "A list of dependencies that are allowed in the 'dependencies' and 'devDependencies' section of package.json. Values in the list are regular expressions matched against npm package names.",
            "items": {
                "type": "string"
            },
            "type": "array"
        }
    },
    "required": [],
    "title": "NgPackageConfig",
    "type": "object"
}