@nrwl/angular:karma-project

Add Karma configuration to an angular project.

Examples

To add karma to project, run the following command.

nx g @nrwl/angular:karma-project --project=myapp

Usage

nx generate karma-project ...

By default, Nx will search for karma-project in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nrwl/angular:karma-project ...

Show what will be generated without writing to disk:

nx g karma-project ... --dry-run

Options

project

Required
string

The name of the project.

skipFormat

boolean
Default: false

Skip formatting files.

skipPackageJson

boolean
Default: false

Skip updating package.json.