/* eslint-disable */ var exec = require('child_process').exec; exec('npm -v', function (err, stdout, stderr) { if (err) throw err; if (parseFloat(stdout) < 3) { throw new Error('[ERROR: Strapi plugin] You need npm version @>=3'); process.exit(1); } });