1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Move node locales and tidy up package.json files

This commit is contained in:
Nick O'Leary 2018-08-20 20:31:29 +01:00
parent 7e7117632d
commit 546f07156f
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
47 changed files with 60 additions and 30 deletions

View File

@ -8,30 +8,16 @@
"type": "git", "type": "git",
"url": "https://github.com/node-red/node-red.git" "url": "https://github.com/node-red/node-red.git"
}, },
"main": "red/red.js", "private": "true",
"scripts": { "scripts": {
"start": "node red.js", "start": "node packages/node_modules/node-red/red.js",
"test": "grunt", "test": "grunt",
"build": "grunt build", "build": "grunt build",
"docs": "grunt docs" "docs": "grunt docs"
}, },
"bin": {
"node-red": "./red.js",
"node-red-pi": "bin/node-red-pi"
},
"contributors": [ "contributors": [
{ { "name": "Nick O'Leary" },
"name": "Nick O'Leary" { "name": "Dave Conway-Jones"}
},
{
"name": "Dave Conway-Jones"
}
],
"keywords": [
"editor",
"messaging",
"iot",
"flow"
], ],
"dependencies": { "dependencies": {
"ajv": "6.5.2", "ajv": "6.5.2",

View File

@ -3,6 +3,14 @@
"version": "0.20.0", "version": "0.20.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "./lib/index.js", "main": "./lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red.git"
},
"contributors": [
{ "name": "Nick O'Leary" },
{ "name": "Dave Conway-Jones"}
],
"dependencies": { "dependencies": {
"body-parser": "1.18.3", "body-parser": "1.18.3",
"clone": "2.1.2", "clone": "2.1.2",

View File

@ -2,5 +2,13 @@
"name": "@node-red/editor-client", "name": "@node-red/editor-client",
"version": "0.20.0", "version": "0.20.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red.git"
},
"contributors": [
{ "name": "Nick O'Leary" },
{ "name": "Dave Conway-Jones"}
],
"main": "./lib/index.js" "main": "./lib/index.js"
} }

View File

@ -2,6 +2,14 @@
"name": "@node-red/nodes", "name": "@node-red/nodes",
"version": "0.20.0", "version": "0.20.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red.git"
},
"contributors": [
{ "name": "Nick O'Leary" },
{ "name": "Dave Conway-Jones"}
],
"dependencies": { "dependencies": {
"body-parser": "1.18.3", "body-parser": "1.18.3",
"cookie": "0.3.1", "cookie": "0.3.1",

View File

@ -247,7 +247,7 @@ function getNodeFiles(disableNodePathScan) {
results = getLocalNodeFiles(path.resolve(settings.coreNodesDir)); results = getLocalNodeFiles(path.resolve(settings.coreNodesDir));
nodeFiles = nodeFiles.concat(results.files); nodeFiles = nodeFiles.concat(results.files);
iconList = iconList.concat(results.icons); iconList = iconList.concat(results.icons);
var defaultLocalesPath = path.join(settings.coreNodesDir,"core","locales"); var defaultLocalesPath = path.join(settings.coreNodesDir,"locales");
i18n.registerMessageCatalog("node-red",defaultLocalesPath,"messages.json"); i18n.registerMessageCatalog("node-red",defaultLocalesPath,"messages.json");
} }

View File

@ -3,6 +3,14 @@
"version": "0.20.0", "version": "0.20.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "./lib/index.js", "main": "./lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red.git"
},
"contributors": [
{ "name": "Nick O'Leary" },
{ "name": "Dave Conway-Jones"}
],
"dependencies": { "dependencies": {
"semver": "5.5.0", "semver": "5.5.0",
"uglify-js": "3.4.7", "uglify-js": "3.4.7",

View File

@ -3,6 +3,14 @@
"version": "0.20.0", "version": "0.20.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "./lib/index.js", "main": "./lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red.git"
},
"contributors": [
{ "name": "Nick O'Leary" },
{ "name": "Dave Conway-Jones"}
],
"dependencies": { "dependencies": {
"clone": "2.1.2", "clone": "2.1.2",
"express": "4.16.3", "express": "4.16.3",

View File

@ -2,6 +2,14 @@
"name": "@node-red/util", "name": "@node-red/util",
"version": "0.20.0", "version": "0.20.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red.git"
},
"contributors": [
{ "name": "Nick O'Leary" },
{ "name": "Dave Conway-Jones"}
],
"dependencies": { "dependencies": {
"clone": "2.1.2", "clone": "2.1.2",
"i18next": "11.6.0", "i18next": "11.6.0",

View File

@ -17,12 +17,8 @@
"node-red-pi": "bin/node-red-pi" "node-red-pi": "bin/node-red-pi"
}, },
"contributors": [ "contributors": [
{ { "name": "Nick O'Leary" },
"name": "Nick O'Leary" { "name": "Dave Conway-Jones"}
},
{
"name": "Dave Conway-Jones"
}
], ],
"keywords": [ "keywords": [
"editor", "editor",
@ -49,6 +45,6 @@
"bcrypt": "~2.0.0" "bcrypt": "~2.0.0"
}, },
"engines": { "engines": {
"node": ">=4" "node": ">=8"
} }
} }