JSPM

arvis-extension-validator

0.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 48
  • Score
    100M100P100Q70765F
  • License MIT

Extension validator for Arvis

Package Exports

  • arvis-extension-validator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (arvis-extension-validator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

arvis-extension-validator

CodeFactor NPM download total CI MIT license PR's Welcome GitHub issues

Arvis extension's JSON schema, cli and library to validate this.

Install

$ npm install -g arvis-extension-validator

Schema

All schema files could be developed in the schema folder.

The files in the project root path are there to be imported from online directly.

non-strict files allow additionalProperties.

library's validator use non-strict file.

Recommend to use normal strict file when developing extension.

How to add schema

Just add to below line to arvis-workflow.json

{
  "$schema": "https://raw.githubusercontent.com/jopemachine/arvis-extension-validator/master/workflow-schema.json"
}

In case of plugin,

{
  "$schema": "https://raw.githubusercontent.com/jopemachine/arvis-extension-validator/master/plugin-schema.json"
}

Cli Usage

Usage
  $ arvis-validate workflow arvis-workflow.json
  $ arvis-validate plugin arvis-plugin.json
  • arvish - Arvis workflow, plugin creator tools