@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 playground
This is an example of what the properties looks like and their values. Go ahead and try, test your configuration this is a live-edit window, you can interact directly and get intellisense on property's values.
Options
buildableProjectDepsInPackageJsonType
peerDependencies
dependencies
, peerDependencies
When updateBuildableProjectDepsInPackageJson
is true
, this adds dependencies to either peerDependencies
or dependencies
.
main
The name of the main entry-point file.
outputPath
The output path of the generated files.
tsConfig
The path to the Typescript configuration file.
updateBuildableProjectDepsInPackageJson
true
Whether to update the buildable project dependencies in package.json
.
watch
false
Enable re-building when files change.