Skip to content

Commit

Permalink
Improve package.json for Node-RED Scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Feb 2, 2022
1 parent 6424d44 commit 021184e
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 20 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* jshint esversion:8, node:true, strict:true */
'use strict';
/**
* Command-line interface for the json-multi-schema Node-RED nodes.
Expand Down
1 change: 0 additions & 1 deletion json-cache.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* jshint esversion:8, node:true, strict:true */
/**
* Module to asynchronously download JSON (and text such as JSONata) documents, then cache them in memory and on disk.
* Handles concurrency (when multiple tasks are asking the same document at the same time).
Expand Down
2 changes: 1 addition & 1 deletion json-multi-schema-resolver.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script type="text/javascript">
/* global RED:false */
RED.nodes.registerType('json-multi-schema-resolver', {
category: 'function',
Expand Down
1 change: 0 additions & 1 deletion json-multi-schema-resolver.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* jshint esversion:8, node:true, strict:true */
/**
* Node-RED node that can determine the URL of the JSON Schema to use for a given JSON payload received,
* using a list of possible JSON Schemas (mappings), which is automatically downloaded and cached the first time it is needed.
Expand Down
2 changes: 1 addition & 1 deletion json-multi-schema-transformer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script type="text/javascript">
/* global RED:false */
RED.nodes.registerType('json-multi-schema-transformer', {
category: 'function',
Expand Down
1 change: 0 additions & 1 deletion json-multi-schema-transformer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* jshint esversion:8, node:true, strict:true */
/**
* Node-RED node transforming a JSON observation from whichever format to another format using a specified JSONata URL.
* Schemas are automatically downloaded and cached on disk the first time they are needed.
Expand Down
2 changes: 1 addition & 1 deletion json-multi-schema-validator.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script>
<script type="text/javascript">
/* global RED:false */
RED.nodes.registerType('json-multi-schema-validator', {
category: 'function',
Expand Down
1 change: 0 additions & 1 deletion json-multi-schema-validator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* jshint esversion:8, node:true, strict:true */
/**
* Node-RED node that validates a JSON payload against a specified JSON Schema URL.
* JSON Schemas are automatically downloaded and cached on disk the first time they are needed.
Expand Down
25 changes: 15 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-json-multi-schema",
"version": "1.4.1",
"version": "1.4.2",
"description": "Generic JSON data pipeline tools, with dynamic transformation (using JSONata rules), resolving JSON Schema (using JSONata rules), and then validation (using JSON Schema). For Node-RED and for command-line.",
"main": "index.js",
"readmeFilename": "readme.md",
Expand All @@ -17,7 +17,11 @@
"node-red",
"nodered"
],
"engines": {
"node": ">=10"
},
"node-red": {
"version": ">=0.20.0",
"nodes": {
"json-multi-schema-resolver": "json-multi-schema-resolver.js",
"json-multi-schema-transformer": "json-multi-schema-transformer.js",
Expand All @@ -38,7 +42,7 @@
"ajv-formats": "^2.1.1",
"jsonata": "^1.8.5",
"node-fetch": "^2.6.7",
"node-red-contrib-mock-cli": "^1.1.0"
"node-red-contrib-mock-cli": "^1.1.1"
},
"devDependencies": {
"eslint": "^7.32.0",
Expand Down

0 comments on commit 021184e

Please sign in to comment.