OpenFin Service Tooling
Extracts out common build and server components which can be shared across different service development environments.
- Common build utils
- Common server and demo launching utils
svc-tools start [...options]
Starts the build and serves the project.
- -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.
- -m, --mode : Sets the webpack mode. Defaults to "production".
Zips the project.
Creates and signs asar of the project.
These are exported by the project and can be used by importing the package.
- 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
This is a WIP as services continue to evolve.
An in-depth usage guide and additional documentation will be published in due course.
Install as a node module to your existing service project.
- After installing, add a script to your projects package.json with the command:
- 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.
Once dependencies are installed and imported, you can invoke
svc-tools start to build and serve your project.
A list of known issues will be here.
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 firstname.lastname@example.org with questions.
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 email@example.com