Replace <dependency-name>
with e.g. typescript
find . -path '*/node_modules' -prune -o -path '*/dist' -prune -o -type f -name 'package.json' -print0 | xargs -0 grep '"<dependency-name>"'
Replace <option>
with e.g. module
or target
find . -path '*/node_modules' -prune -o -path '*/dist' -prune -o -type f -name 'tsconfig.json' -print0 | xargs -0 grep '"<option>"'
find . -path '*/node_modules' -prune -o -type f -name '*.ts' -print0 | xargs -0 grep '/build/'