AdminElement: Use Redux.
- Imports es-module-shims.
- Adds an importmap via es-module-shims.
- Makes the “switch” button flip a boolean flag in the state
and uses it to modify the value shown.
Change-Id: Ie8042a4c434206f590ebde21fd67e84f48446c03
diff --git a/src/main/resources/META-INF/resources/package.json b/src/main/resources/META-INF/resources/package.json
index 265950c..a56863e 100644
--- a/src/main/resources/META-INF/resources/package.json
+++ b/src/main/resources/META-INF/resources/package.json
@@ -1,9 +1,10 @@
{
"dependencies": {
+ "es-module-shims": "^0.4.6",
"lit-html": "^1.1.2",
- "redux": "^4.0.5"
+ "normalize.css": "^8.0.1",
+ "redux": "^4.0.5",
+ "sanitize.css": "^11.0.0"
},
- "devDependencies": {
- "browser-sync": "^2.26.7"
- }
+ "devDependencies": {}
}