Skip to content

Commit 021184e

Browse files
committed
Improve package.json for Node-RED Scoreboard
1 parent 6424d44 commit 021184e

10 files changed

+24
-20
lines changed

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint esversion:8, node:true, strict:true */
21
'use strict';
32
/**
43
* Command-line interface for the json-multi-schema Node-RED nodes.

json-cache.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint esversion:8, node:true, strict:true */
21
/**
32
* Module to asynchronously download JSON (and text such as JSONata) documents, then cache them in memory and on disk.
43
* Handles concurrency (when multiple tasks are asking the same document at the same time).

json-multi-schema-resolver.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script>
1+
<script type="text/javascript">
22
/* global RED:false */
33
RED.nodes.registerType('json-multi-schema-resolver', {
44
category: 'function',

json-multi-schema-resolver.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint esversion:8, node:true, strict:true */
21
/**
32
* Node-RED node that can determine the URL of the JSON Schema to use for a given JSON payload received,
43
* using a list of possible JSON Schemas (mappings), which is automatically downloaded and cached the first time it is needed.

json-multi-schema-transformer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script>
1+
<script type="text/javascript">
22
/* global RED:false */
33
RED.nodes.registerType('json-multi-schema-transformer', {
44
category: 'function',

json-multi-schema-transformer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint esversion:8, node:true, strict:true */
21
/**
32
* Node-RED node transforming a JSON observation from whichever format to another format using a specified JSONata URL.
43
* Schemas are automatically downloaded and cached on disk the first time they are needed.

json-multi-schema-validator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script>
1+
<script type="text/javascript">
22
/* global RED:false */
33
RED.nodes.registerType('json-multi-schema-validator', {
44
category: 'function',

json-multi-schema-validator.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint esversion:8, node:true, strict:true */
21
/**
32
* Node-RED node that validates a JSON payload against a specified JSON Schema URL.
43
* JSON Schemas are automatically downloaded and cached on disk the first time they are needed.

package-lock.json

Lines changed: 15 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-red-contrib-json-multi-schema",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"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.",
55
"main": "index.js",
66
"readmeFilename": "readme.md",
@@ -17,7 +17,11 @@
1717
"node-red",
1818
"nodered"
1919
],
20+
"engines": {
21+
"node": ">=10"
22+
},
2023
"node-red": {
24+
"version": ">=0.20.0",
2125
"nodes": {
2226
"json-multi-schema-resolver": "json-multi-schema-resolver.js",
2327
"json-multi-schema-transformer": "json-multi-schema-transformer.js",
@@ -38,7 +42,7 @@
3842
"ajv-formats": "^2.1.1",
3943
"jsonata": "^1.8.5",
4044
"node-fetch": "^2.6.7",
41-
"node-red-contrib-mock-cli": "^1.1.0"
45+
"node-red-contrib-mock-cli": "^1.1.1"
4246
},
4347
"devDependencies": {
4448
"eslint": "^7.32.0",

0 commit comments

Comments
 (0)