mirror of
https://github.com/flyandi/mazda-custom-application-sdk
synced 2024-10-30 00:18:00 +00:00
Better node integration
This commit is contained in:
parent
acbf45143a
commit
f77ea2243b
12 changed files with 26 additions and 0 deletions
1
src/node/.gitignore
vendored
Normal file
1
src/node/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
latest/
|
15
src/runtime/package.json
Normal file
15
src/runtime/package.json
Normal 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
10
src/runtime/runtime.js
Normal 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!";
|
||||||
|
}
|
Loading…
Reference in a new issue