-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
585 additions
and
2,097 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
exports.devices = require('./devices') | ||
exports.infos = require('./infos') | ||
import devices from './devices.js'; | ||
import infos from './infos.js'; | ||
|
||
export default { | ||
'devices': devices, | ||
'infos': infos, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
module.exports = { | ||
export default { | ||
name: { | ||
en: 'IP Camera MJPG', | ||
fr: 'Caméra IP MJPG' | ||
fr: 'Caméra IP MJPG', | ||
}, | ||
description: { | ||
en: 'Add an IP Camera with MJPG stream', | ||
fr: 'Ajout d\'une caméra IP avec un flux MJPG' | ||
fr: 'Ajout d\'une caméra IP avec un flux MJPG', | ||
}, | ||
image: 'camera_ip.png' | ||
image: 'camera_ip.png', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
'use strict' | ||
import {Driver} from 'lisa-plugin' | ||
|
||
const Driver = require('lisa-plugin').Driver | ||
|
||
module.exports = class CamDriver extends Driver { | ||
export default class CamDriver extends Driver { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
exports.cam = require('./cam') | ||
import cam from './cam.js' | ||
|
||
export default { | ||
'cam': cam | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
{ | ||
"type": "module", | ||
"name": "lisa-plugin-cam-mjpeg", | ||
"main": "index.js", | ||
"version": "0.0.1", | ||
"scripts": { | ||
"test": "eslint . && mocha" | ||
}, | ||
"eslintConfig": { | ||
"extends": "trails" | ||
"extends": "google" | ||
}, | ||
"dependencies": { | ||
"lisa-plugin": "^0.0.15" | ||
"lisa-plugin": "^0.1.2" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^6.4.0", | ||
"eslint-config-trails": "^3.1.0", | ||
"mocha": "^6.2.0" | ||
"eslint": "^7.32.0", | ||
"eslint-config-google": "^0.14.0", | ||
"mocha": "^9.1.1" | ||
} | ||
} |
Oops, something went wrong.