Options

outputPath

Required
string

The output path of the generated files.

generatePackageJson

boolean
Default: false

Generate package.json file in the output folder.

generateLockfile

boolean
Default: false

Generate a lockfile (e.g. package-lock.json) that matches the workspace lockfile to ensure package versions match.

includeDevDependenciesInPackageJson

boolean
Default: false

Include devDependencies in the generated package.json file. By default only production dependencies are included.

skipPackageManager

boolean

Do not add a packageManager entry to the generated package.json file. Only works in conjunction with generatePackageJson option.

sourcemap

boolean
Default: false

Generate source maps for production.