@nrwl/js:tsc
Builds using TypeScript.
Options can be configured in project.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.
Options
buildableProjectDepsInPackageJsonType
string
Default:
peerDependenciesAccepted values:
dependencies, peerDependenciesWhen updateBuildableProjectDepsInPackageJson is true, this adds dependencies to either peerDependencies or dependencies.
main
Required
string
The name of the main entry-point file.
outputPath
Required
string
The output path of the generated files.
tsConfig
Required
string
The path to the Typescript configuration file.
updateBuildableProjectDepsInPackageJson
boolean
Default:
trueWhether to update the buildable project dependencies in package.json.
watch
boolean
Default:
falseEnable re-building when files change.