Updated for Angular >=8 CLI
For one component, use the following command:
For a single project, change or add the following in your angular.json:
For a global setting for all your projects, change or add the following in your angular.json:
Or by using the command line
For Angular < 8
Inside your angular-cli.json set the spec.component parameter to false:
or use the --spec=false option during creation