Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nx-extend/firebase-hosting

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx-extend/firebase-hosting

  • 6.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
118
increased by40.48%
Maintainers
1
Weekly downloads
 
Created
Source

@nx-extend/firebase-hosting

@nx-extend/firebase-hosting NPM package

Nx plugin for deploy your app to Firebase Hosting.

Setup

Install

npm install -D @nx-extend/firebase-hosting
nx g @nx-extend/firebase-hosting:add

This will add the following to the target:

{
  ...other targets
  "deploy": {
    "executor": "@nx-extend/firebase-hosting:deploy",
    "options": {
      "site": "<site provided in setup>"
    }
  }
}

And create a .firebase.json file if it does not exist already, if it exists it will add this target to the hosting section:

{
  ...other firebase config
  "hosting": [
    {
      "target": "<provided site name>",
      "public": "<target dist directory>",
      "ignore": [
        "firebase.json",
        "**/.*",
        "**/node_modules/**"
      ]
    }
  ]
}

Usage

Deploy

Available options:
nametypedefaultdescription
--sitestringnullSpecify the site to deploy from the .firebase.json
--projectstringFirebase Project to deploy to
--identifierstringName of the hosting project in Firebase (if not defined --site is used by the firebase CLI

FAQs

Package last updated on 07 May 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