@plxtra/motif-api
v3.1.1
Published
Plxtra Motif API
Readme
Motif API
API used to build Motif extensions
API Documentation
Use this documentation to understand how to build a Motif Extension using this Motif API:
https://plxtra.org/motif-api/Overview/
Install
npm i @plxtra/motif-apiBuild API
This generates the API documentation directly from the Motif repository. This is useful if you are using Motif to debug an extension and want to ensure that the Motif API exactly matches the Motif being used to debug the extension.
- Install the Plxtra
motifrepository and thismotif-apirepository in the same folder. - Set the version in this
@plxtra/motif-apipackage so that it matches the@plxtra/motif(Motif) package version. - Run the
distscript in this@plxtra/motif-apipackage:npm run dist
Publish API
- Build the API:
- Review files to be published with:
npm pack - Publish to npm
npm publish
Build API documentation
- Install the following Plxtra repositories in the same folder:
- Build the API:
- Run the
docs:buildscript in this@plxtra/motif-apirepository:npm run docs:build
View the built API documentation
- Build the API documentation
- Run the
docs:servescript in this@plxtra/motif-apirepository:npm run docs:serve
