fix(all): Improvements on debugging output.

This commit is contained in:
Rodrigo Rodriguez 2021-01-08 13:03:44 -03:00
parent 34e9e9e384
commit eb194f6885
2 changed files with 12 additions and 7 deletions

View file

@ -3,9 +3,14 @@
const Fs = require('fs'); const Fs = require('fs');
const Path = require('path'); const Path = require('path');
const { exec } = require('child_process'); const { exec } = require('child_process');
var pjson = require('./package.json');
// Displays version of Node JS being used at runtime and others attributes. // Displays version of Node JS being used at runtime and others attributes.
console.log(`[GB Runtime] BotServer = v${pjson.version}`);
console.log(`[GB Runtime] BotLib = v${pjson.dependencies.botlib}`);
console.log(`[GB Runtime] BotBuilder (MS) = v${pjson.dependencies.botbuilder}`);
console.log(`[GB Runtime] NodeJS = ${process.version}`); console.log(`[GB Runtime] NodeJS = ${process.version}`);
console.log(`[GB Runtime] platform = ${process.platform}`); console.log(`[GB Runtime] platform = ${process.platform}`);
console.log(`[GB Runtime] architecture = ${process.arch}`); console.log(`[GB Runtime] architecture = ${process.arch}`);

View file

@ -23,7 +23,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/pragmatismo-io/BotServer.git" "url": "https://github.com/GeneralBots/BotServer.git"
}, },
"scripts": { "scripts": {
"clean": "shx rm -rf node_modules/ dist/ docs/reference", "clean": "shx rm -rf node_modules/ dist/ docs/reference",