Extension Package

This package is used to extend both the client- and server APIs.

Create Package

$ node osjs generate:package --name=default/MyName --type=extension

Development


Building and installation

# Adds package to global manifest. You have to run this initially and when you change your metadata file
$ node osjs build:manifest

# Rebuild configuration files if you added configuration inclusions
$ node osjs build:config

# Build package
$ node osjs build:package --name=default/MyName

Tips

If you want to automatically rebuild your changes, run:

$ node osjs watch