mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Use JSON format for configuration pm2 control process file on installer
file. Also, add to validate format on Gruntfile
This commit is contained in:
parent
043779f4af
commit
16499d2fb8
@ -24,7 +24,8 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
jsonlint: {
|
jsonlint: {
|
||||||
main: {
|
main: {
|
||||||
src: ["package.json", ".eslintrc.json", ".stylelintrc", "translations/*.json", "modules/default/*/translations/*.json"],
|
src: ["package.json", ".eslintrc.json", ".stylelintrc", "translations/*.json",
|
||||||
|
"modules/default/*/translations/*.json", "installers/pm2_MagicMirror.json"],
|
||||||
options: {
|
options: {
|
||||||
reporter: "jshint"
|
reporter: "jshint"
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
apps : [{
|
"apps" : [{
|
||||||
name : "MagicMirror",
|
"name" : "MagicMirror",
|
||||||
script : "/home/pi/MagicMirror/installers/mm.sh",
|
"script" : "/home/pi/MagicMirror/installers/mm.sh",
|
||||||
watch : ["/home/pi/MagicMirror/config/config.js"]
|
"watch" : ["/home/pi/MagicMirror/config/config.js"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user