Socket
Socket
Sign inDemoInstall

@angular/cli

Package Overview
Dependencies
933
Maintainers
2
Versions
797
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @angular/cli

CLI tool for Angular


Version published
Maintainers
2
Install size
30.1 MB
Created

Package description

What is @angular/cli?

The @angular/cli package is a command-line interface tool that you can use to initialize, develop, scaffold, and maintain Angular applications directly from a command shell. It provides commands for creating new projects, generating application and library code, performing a variety of ongoing development tasks such as testing, bundling, and deployment.

What are @angular/cli's main functionalities?

Project Scaffolding

Creates a new Angular application with a default structure by running the 'ng new' command followed by the project name.

ng new my-angular-app

Generating Components, Services, and other features

Generates a new component and its associated files by using the 'ng generate' command followed by the feature type and name.

ng generate component my-component

Building and Serving the Application

Compiles the application and starts a web server, making the app accessible in a browser. The 'ng serve' command is used for this purpose.

ng serve

Running Unit Tests

Executes the unit tests defined in the application using the 'ng test' command.

ng test

Building for Production

Compiles the application for production deployment, optimizing the build for performance and size using the 'ng build' command with the '--prod' flag.

ng build --prod

Other packages similar to @angular/cli

Changelog

Source

18.0.1 (2024-05-23)

@schematics/angular

| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ------------------------- | | 01842f515 | fix | use angular.dev in readme |

@angular/build

| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------------------------------------- | | 7d253e9cd | fix | avoid rebasing URLs with function calls | | 6b6a76a99 | fix | disable persistent disk caching inside webcontainers by default | | ba70a50b6 | fix | handle esbuild-browser polyfills option as string during ng serve | | 706423aca | fix | only import persistent cache store with active caching |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.0.0"></a>

Readme

Source

Angular CLI - The CLI tool for Angular.

The sources for this package are in the Angular CLI repository. Please file issues and pull requests against that repository.

Usage information and reference details can be found in repository README file.

Keywords

FAQs

Last updated on 23 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc