Socket
Socket
Sign inDemoInstall

lfcdn

Package Overview
Dependencies
271
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lfcdn

Deploy your `./dist/` directory to the Livefyre CDN.


Version published
Weekly downloads
53
decreased by-83.54%
Maintainers
2
Install size
6.42 MB
Created
Weekly downloads
 

Readme

Source

lfcdn

Deploy your ./dist/ directory to the Livefyre CDN.

It will read from the name and version in your package.json

You will need to set the following environment variables

export LF_CDN_S3_KEY='...'
export LF_CDN_S3_SECRET='...'

Install with npm.

npm install -g git+ssh://git@github.com:Livefyre/lfcdn

Note the -g. It will add lfcdn to your PATH.

lfcdn -h

Usage: lfcdn -e {dev|qa|staging|prod} -c [/path/to/config.json] [--reporter (url|none)]

--reporter urls will print URLs to stdout for each file

lfcdn -c [/path/to/config.json]

Load config from a JSON config file. Supported config options:

  • dir - S3 key to deploy files to. Defaults to a path derrived from the name in package.json

lfcdn -e {dev|qa|staging|prod}

Environment to deploy to. Defaults to dev.

livefyre-cdn-dev: deploying streamhub-sdk
[gulp] [cache]  libs/streamhub-sdk/2.7.5/streamhub-sdk.min.css
[gulp] [cache]  libs/streamhub-sdk/2.7.5/streamhub-sdk.min.js
[gulp] [cache]  libs/streamhub-sdk/2.7.5/streamhub-sdk.min.js.map

lfcdn -f

By default lfcdn will not update published files. One can, however, overwrite published files with the force option.

FAQs

Last updated on 26 Jul 2017

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