New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

openfin-service-tooling

Package Overview
Dependencies
Maintainers
32
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openfin-service-tooling

  • 1.0.43
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
decreased by-89.68%
Maintainers
32
Weekly downloads
 
Created
Source

OpenFin Service Tooling

Overview

Extracts out common build and server components which can be shared across different service development environments.

Dependencies

  • None.

Features

  • Common build utils
  • Common server and demo launching utils

API

  • svc-tools start [...options]

    Starts the build and serves the project.

    • Options:
      • -v, --providerVersion : Sets the version of the provider to use. Defaults to "local". Options: local | staging | stable | w.x.y.z'.
      • -m, --mode : Sets the webpack mode. Defaults to "development". Options: development | production | none'
      • -n, --noDemo: Runs the server but will not launch the demo application.
      • -s, --static: Launches the server and application using pre-built files.
      • -w, --write: Writes and serves the built files from disk.
  • svc-tools build [...options]

    Invokes webpack to build the project.

    • Options:
      • -m, --mode : Sets the webpack mode. Defaults to "production".
  • svc-tools zip

    Zips the project.

  • svc-tools asar

    Creates and signs asar of the project.

  • Exports

    These are exported by the project and can be used by importing the package.

    • webpack
      • createConfig: Creates a webpack configuration
      • versionPlugin: Replaces 'PACKAGE_VERSION' constant in source files with the current version of the service
      • manifestPlugin: Provider temporarily requires an extra plugin to override index.html within provider app.json

Roadmap

This is a WIP as services continue to evolve.

Usage

An in-depth usage guide and additional documentation will be published in due course.

Getting Started

Install as a node module to your existing service project.

Setup

  • After installing, add a script to your projects package.json with the command: svc-tools start
  • In your webpack.config.js, import openfin-service-tooling - this will expose the common webpack utils to create configurations and export.

You can then invoke svc-tools start added previously to build and serve your project.

Startup

Once dependencies are installed and imported, you can invoke svc-tools start to build and serve your project.

Known Issues

A list of known issues will be here.

License

This project uses the Apache2 license

However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin's Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or just email us at support@openfin.co with questions.

https://openfin.co/developer-agreement/ https://openfin.co/licensing/

Support

This is an open source project and all are encouraged to contribute. Please enter an issue in the repo for any questions or problems. Alternatively, please contact us at support@openfin.co

FAQs

Package last updated on 26 Apr 2021

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