1 | /**
|
2 | * This file was automatically generated by json-schema-to-typescript.
|
3 | * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
4 | * and run json-schema-to-typescript to regenerate this file.
|
5 | */
|
6 | /**
|
7 | * JSON Schema for `ng-package.json` description file
|
8 | */
|
9 | export interface NgPackageConfig {
|
10 | $schema?: string;
|
11 | /**
|
12 | * Delete output path before build.
|
13 | */
|
14 | deleteDestPath?: boolean;
|
15 | /**
|
16 | * Destination folder where distributable binaries of the Angular library are written (default: `dist`).
|
17 | */
|
18 | dest?: string;
|
19 | /**
|
20 | * Enable this to keep the 'scripts' section in package.json. Read the NPM Blog on 'Package install scripts vulnerability' – http://blog.npmjs.org/post/141702881055/package-install-scripts-vulnerability
|
21 | */
|
22 | keepLifecycleScripts?: boolean;
|
23 | /**
|
24 | * 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.
|
25 | */
|
26 | allowedNonPeerDependencies?: string[];
|
27 | /**
|
28 | * A list of files which are simply copied into the package.
|
29 | */
|
30 | assets?: string[];
|
31 | /**
|
32 | * The stylesheet language to use for the library's inline component styles.
|
33 | */
|
34 | inlineStyleLanguage?: "css" | "less" | "sass" | "scss";
|
35 | /**
|
36 | * Description of the library's entry point.
|
37 | */
|
38 | lib?: {
|
39 | /**
|
40 | * Entry file to the public API (default: `src/public_api.ts`).
|
41 | */
|
42 | entryFile?: string;
|
43 | /**
|
44 | * Filename of the auto-generated flat module file (if empty, defaults to the package name as given in `package.json`).
|
45 | */
|
46 | flatModuleFile?: string;
|
47 | /**
|
48 | * Embed assets in css file using data URIs - see https://css-tricks.com/data-uris
|
49 | */
|
50 | cssUrl?: "none" | "inline";
|
51 | /**
|
52 | * Any additional paths that should be used to resolve style imports
|
53 | */
|
54 | styleIncludePaths?: string[];
|
55 | };
|
56 | }
|