npm: add node-gyp build support
This commit adds all the infrastructure necessary for doing node-gyp builds of mraa. Note this will only build the mraa js bindings and will dirty your git tree whilst doing it. It also assumes the user does not have SWIG installed on their machines and so the swig wrapper is static. The target to use this feature is 'npmpkg'. Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -1,9 +1,22 @@
|
||||
{
|
||||
"name" : "mraa",
|
||||
"description": "IO library that helps you use I2c, SPI, gpio, uart, pwm, analog inputs (aio) and more on a number of platforms such as the Intel galileo, the Intel edison and others",
|
||||
"keywords":["gpio", "edison","galileo","io", "mraajs", "spi", "i2c", "minnow", "intel"],
|
||||
"homepage": "http://github.com/intel-iot-devkit/mraa",
|
||||
|
||||
|
||||
"repository" : {
|
||||
"type" : "git",
|
||||
"url" : "http://github.com/intel-iot-devkit/mraa.git"
|
||||
},
|
||||
"main" : "./mraa.node",
|
||||
"engines": {
|
||||
"node": ">= 1.0.x"
|
||||
},
|
||||
"bugs": {
|
||||
"url" : "http://github.com/intel-iot-devkit/mraa/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "@VERSION@"
|
||||
"version": "@VERSION@",
|
||||
"authors": "See github.com/intel-iot-devkit/mraa/graphs/contributors"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user