mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
98ebb02763
Adds new resources (loose files, non NR pkgs, NR modules, NR Plugins) Adds new tests #getNodeFiles - new tests below √ Finds nodes and icons only in nodesDir with files, icons and valid node-red packages √ Should not find node-red node in nodesDir with files, icons and valid node-red packages √ Should not find node-red node in nodesDir when regular package and valid node-red packages #getModuleFiles - new tests below √ gets a nodes module files √ Finds only 1 node-red node in nodesDir amongst legacy nodes and regular nodes √ Finds a node-red node in nodesDir with a sub dir containing valid node-red package √ Finds 2 node-red node and 1 plugin in nodesDir (in root of dir) √ Finds 2 node-red node and 1 plugin in nodesDir pointing to a node_modules dir
21 lines
389 B
JSON
21 lines
389 B
JSON
{
|
|
"name": "testnode2",
|
|
"version": "1.0.0",
|
|
"description": "A test node that does nothing other than exist",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [
|
|
"node-red",
|
|
"test"
|
|
],
|
|
"node-red": {
|
|
"nodes": {
|
|
"testnode2": "index.js"
|
|
}
|
|
},
|
|
"author": "@testyMcTersterson",
|
|
"license": "MIT"
|
|
}
|