package.json.cmake: create node version specific package.json
authorBrendan Le Foll <brendan.le.foll@intel.com>
Thu, 19 Mar 2015 11:54:58 +0000 (11:54 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Thu, 19 Mar 2015 18:26:05 +0000 (18:26 +0000)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/javascript/package.json.cmake

index 49dd744..7a28b5e 100644 (file)
@@ -5,7 +5,7 @@
   "homepage": "http://github.com/intel-iot-devkit/mraa",
   "main" : "./mraa.node",
   "engines": {
-    "node": ">= 0.10.x"
+    "node": ">= @NODE_VERSION_MAJOR@.@NODE_VERSION_MINOR@.x"
   },
   "bugs": {
     "url" : "http://github.com/intel-iot-devkit/mraa/issues"