Socket
Socket
Sign inDemoInstall

@nrwl/web

Package Overview
Dependencies
Maintainers
7
Versions
1618
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrwl/web

The Nx Plugin for Web Components contains generators for managing Web Component applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Jest, Cypress, and Storybook. - Scaffolding for creating buildable libr


Version published
Weekly downloads
1.1M
decreased by-9.21%
Maintainers
7
Weekly downloads
 
Created

What is @nrwl/web?

@nrwl/web is a package from the Nx suite that provides tools and utilities for building web applications. It is designed to work seamlessly with the Nx workspace, offering a range of features to streamline the development process, including project generation, build optimization, and testing.

What are @nrwl/web's main functionalities?

Project Generation

This command generates a new web application within an Nx workspace. It sets up the necessary configuration and scaffolding to get started quickly.

nx generate @nrwl/web:app my-app

Build Optimization

This command builds the web application in production mode, applying various optimizations such as minification and tree-shaking to ensure the output is as efficient as possible.

nx build my-app --prod

Testing

This command runs the unit tests for the specified web application. Nx integrates with popular testing frameworks like Jest to provide a smooth testing experience.

nx test my-app

Linting

This command runs the linter on the specified web application, helping to ensure code quality and consistency across the project.

nx lint my-app

Other packages similar to @nrwl/web

Keywords

FAQs

Package last updated on 26 Aug 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc