Skip to content

Commit 1f785fe

Browse files
chore: use Companion prettier, update module base (#6)
1 parent 11d00f8 commit 1f785fe

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

companion/manifest.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
"entrypoint": "../index.js"
2222
},
2323
"manufacturer": "VDO",
24-
"products": [
25-
"Ninja"
26-
],
27-
"keywords": [
28-
"Video"
29-
]
30-
}
24+
"products": ["Ninja"],
25+
"keywords": ["Video"]
26+
}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "index.js",
55
"type": "module",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"format": "prettier -w ."
88
},
99
"license": "MIT",
1010
"dependencies": {
@@ -17,5 +17,6 @@
1717
},
1818
"devDependencies": {
1919
"@companion-module/tools": "^0.5.2"
20-
}
20+
},
21+
"prettier": "@companion-module/tools/.prettierrc.json"
2122
}

0 commit comments

Comments
 (0)