Skip to content

Project configuration

Properties

generators: Object

List of default values used by generators.

These defaults are project specific.

Example:

{
"@nx/react": {
"library": {
"style": "scss"
}
}
}

implicitDependencies: string[]

List of projects which are added as a dependency

metadata: ProjectMetadata

Metadata about the project

name: string

Project’s name. Optional if specified in workspace.json

namedInputs: Object

Named inputs targets can refer to reduce duplication

projectType: ProjectType

Project type

release: Object

Project specific configuration for nx release

root: string

Project’s location relative to the root of the workspace

sourceRoot: string

The location of project’s sources relative to the root of the workspace

tags: string[]

List of tags used by enforce-module-boundaries / project graph

targets: Object

Project’s targets