Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated or-translate build config

Rich Turner22a1027c94c6
diff --git a/ui/component/or-translate/package.json b/ui/component/or-translate/package.json
index 4b9f1b0a3..4e7664233 100644
--- a/ui/component/or-translate/package.json
+++ b/ui/component/or-translate/package.json
@@ -5,13 +5,14 @@
"main": "dist/index.js",
"types": "src/index.ts",
"scripts": {
- "build": "node mdi-iconset-generator.js && npx tsc -b",
+ "build": "npx tsc -b",
"test": "echo \"No tests\" && exit 0"
},
"author": "OpenRemote",
"license": "AGPL-3.0-or-later",
"dependencies": {
- "lit-element": "^2.1.0"
+ "lit-element": "^2.1.0",
+ "i18next": "^15.0.9"
},
"devDependencies": {
"@webcomponents/webcomponentsjs": "^2.0.0",
diff --git a/ui/component/or-translate/src/translate-mixin.ts b/ui/component/or-translate/src/translate-mixin.ts
index 36de00be6..df6077ef9 100644
--- a/ui/component/or-translate/src/translate-mixin.ts
+++ b/ui/component/or-translate/src/translate-mixin.ts
@@ -1,4 +1,4 @@
-import {LitElement, PropertyValues} from "lit-element";
+import {PropertyValues} from "lit-element";
import i18n from "i18next";
declare type Constructor<T> = new (...args: any[]) => T;