1.2 KiB

ng generate library

Overview

Generate a library project for Angular.

Options

dry-run

--dry-run (alias: -d)

Run through without making any changes.

force

--force (alias: -f)

Forces overwriting of files.

entry-file

--entry-file

The path to create the library's public API file.

prefix

--prefix (alias: -p)

The prefix to apply to generated selectors.

skip-package-json

--skip-package-json

Do not add dependencies to package.json.

skip-ts-config

--skip-ts-config

Do not update tsconfig.json for development experience.