- package.json test script now covers test/ recursively + nrmse/errorMetric. - Removed 5 broken test files that used Mocha-style describe()/it() globals with no test runner installed. All 5 have working kebab-case node:test equivalents (e.g. childRegistration.test.js → child-registration-utils.test.js). - 4 remaining pre-existing assertion failures in output-utils + validation-utils logged in OPEN_QUESTIONS.md for Phase 10.5. 166/170 tests pass (4 known pre-existing failures). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
36 lines
969 B
JSON
36 lines
969 B
JSON
{
|
|
"name": "generalFunctions",
|
|
"version": "1.0.0",
|
|
"description": "General utility functions used across multiple Node-RED modules",
|
|
"main": "./index.js",
|
|
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./menuUtils": "./src/helper/menuUtils.js",
|
|
"./mathUtils": "./src/helper/mathUtils.js",
|
|
"./assetUtils": "./src/helper/assetUtils.js",
|
|
"./outputUtils": "./src/helper/outputUtils.js",
|
|
"./helper": "./src/helper/index.js",
|
|
"./state": "./src/state/index.js",
|
|
"./predict": "./src/predict/index.js",
|
|
"./pid": "./src/pid/index.js",
|
|
"./nrmse": "./src/nrmse/index.js",
|
|
"./outliers": "./src/outliers/index.js"
|
|
},
|
|
|
|
"scripts": {
|
|
"test": "node --test test/ src/nrmse/errorMetric.test.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.centraal.wbd-rd.nl/RnD/generalFunctions.git"
|
|
},
|
|
"keywords": [
|
|
"utilities",
|
|
"common",
|
|
"node-red"
|
|
],
|
|
"author": "Rene de Ren",
|
|
"license": "SEE LICENSE"
|
|
}
|