title | description |
---|---|
@nrwl/node:package executor |
Package a Node library |
Package a Node library
Options can be configured in workspace.json
when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.
Type: string
The name of the main entry-point file.
Type: string
The name of the Typescript configuration file.
Type: array
List of static library assets.
Default: dependencies
Type: string
Possible values: dependencies
, peerDependencies
When updateBuildableProjectDepsInPackageJson is true, this adds dependencies to either peerDependencies
or dependencies
Type: boolean
Adds a CLI wrapper to main entry-point file.
Default: true
Type: boolean
Delete the output path before building.
Type: string
The output path of the generated files.
Type: string
The name of the package.json file
Default: true
Type: boolean
Output sourcemaps.
Type: string
Sets the rootDir for TypeScript compilation. When not defined, it uses the project's root property
Type: array
List of TypeScript Compiler Plugins.
Default: true
Type: boolean
Update buildable project dependencies in package.json
Default: false
Type: boolean
Enable re-building when files change.