Confirm compatibility with Node 8.x

This commit is contained in:
Zaid Abdulla committed 2017-06-01 16:48:21 -07:00
1 parent b38b3cf5ab
commit 3ebc249ffa
3 files changed
+9 -3

No files matched your search

+7 -1
View File
@@ -20,9 +20,12 @@ Install [Node.js](http://nodejs.org/) and [MongoDB](http://www.mongodb.org/).
Refer to their corresponding documentation for installation instructions. The Refer to their corresponding documentation for installation instructions. The
supported versions are: supported versions are:
- Node.js: 6.x and 7.x (7.x recommended) - Node.js: 6.x and 8.x (8.x recommended)
- MongoDB: 2.6 through 3.4 - MongoDB: 2.6 through 3.4
Install build tools and libxml2 development files from your system's package
manager.
Then install GenieACS using NPM: Then install GenieACS using NPM:
npm install -g genieacs npm install -g genieacs
@@ -35,6 +38,9 @@ Alternatively, you can install from source by cloning the git repository:
npm install npm install
npm run compile npm run compile
Before proceeding, find and review the file "config.json" in "config" directory
where GenieACS is downloaded.
Finally, run the following (from bin directory if installing from source): Finally, run the following (from bin directory if installing from source):
genieacs-cwmp genieacs-cwmp
+1 -1
View File
@@ -27,7 +27,7 @@ const VERSION = require("../package.json").version;
function getDependencyVersions() { function getDependencyVersions() {
let dependencies = [`node@${process.versions.node}`]; let dependencies = [`node@${process.versions.node}`];
try { try {
let npmls = JSON.parse(require("child_process").execSync("npm ls --prod --json")); let npmls = JSON.parse(require("child_process").execSync("npm ls --prod --json --depth 0"));
for (let k in npmls.dependencies) for (let k in npmls.dependencies)
dependencies.push(`${k}@${npmls.dependencies[k].version}`); dependencies.push(`${k}@${npmls.dependencies[k].version}`);
+1 -1
View File
@@ -31,7 +31,7 @@
"coffeescript": "^1.12.4" "coffeescript": "^1.12.4"
}, },
"engines": { "engines": {
"node": ">=6.9.2 <8.0" "node": ">=6.9.2 <9.0"
}, },
"scripts": { "scripts": {
"prepublish": "npm run compile", "prepublish": "npm run compile",