Better node integration

This commit is contained in:
140b8f67-ec51-4b64-9606-bff2dffa0170 2016-03-22 23:49:10 -07:00
parent acbf45143a
commit f77ea2243b
12 changed files with 26 additions and 0 deletions

1
src/node/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
latest/

15
src/runtime/package.json Normal file
View file

@ -0,0 +1,15 @@
{
"name": "casdk-runtime",
"description": "Write and deploy applications for the Mazda Infotainment System",
"version": "0.0.4",
"homepage": "http://flyandi.github.io/mazda-custom-application-sdk/",
"author": "Andy (flyandi) <flyandi@yahoo.com>",
"repository": {
"type": "git",
"url": "https://github.com/flyandi/mazda-custom-application-sdk"
},
"license": "GPL-3.0",
"dependencies": {
"ws": "^1.0.1"
}
}

10
src/runtime/runtime.js Normal file
View file

@ -0,0 +1,10 @@
/* eslint-disable require-buffer */
'use strict';
//const binding = process.binding('cmu');
const cmu = exports;
cmu.version = function() {
return "It a worked!";
}