From 8810fe42b6b65370663fcf78a569340a7df808ca Mon Sep 17 00:00:00 2001 From: Zalmoxisus Date: Fri, 4 Jan 2019 21:44:48 +0200 Subject: [PATCH] Serve umd modules for cli --- .gitignore | 1 + packages/redux-devtools-cli/README.md | 2 +- .../{views/index.ejs => app/index.html} | 20 ++--- packages/redux-devtools-cli/package.json | 9 ++- packages/redux-devtools-cli/src/routes.js | 77 +++++++++++++++++++ packages/redux-devtools-cli/src/worker.js | 64 +-------------- 6 files changed, 99 insertions(+), 74 deletions(-) rename packages/redux-devtools-cli/{views/index.ejs => app/index.html} (57%) create mode 100644 packages/redux-devtools-cli/src/routes.js diff --git a/.gitignore b/.gitignore index 106d21b5..30a4461b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,6 @@ node_modules .DS_Store lib dist +umd coverage .idea diff --git a/packages/redux-devtools-cli/README.md b/packages/redux-devtools-cli/README.md index 7ae53ca1..6543328b 100644 --- a/packages/redux-devtools-cli/README.md +++ b/packages/redux-devtools-cli/README.md @@ -1,7 +1,7 @@ Redux DevTools Command Line Interface ===================================== -Bridge for communicating with an application remotely via [Redux DevTools extension](https://github.com/zalmoxisus/redux-devtools-extension), [Remote Redux DevTools](https://github.com/zalmoxisus/remote-redux-devtools) or [RemoteDev](https://github.com/zalmoxisus/remotedev). Running your server is optional, you can use [remotedev.io](https://remotedev.io) instead. +Bridge for remote debugging via [Redux DevTools extension](https://github.com/zalmoxisus/redux-devtools-extension), [Remote Redux DevTools](https://github.com/zalmoxisus/remote-redux-devtools) or [RemoteDev](https://github.com/zalmoxisus/remotedev). ### Usage diff --git a/packages/redux-devtools-cli/views/index.ejs b/packages/redux-devtools-cli/app/index.html similarity index 57% rename from packages/redux-devtools-cli/views/index.ejs rename to packages/redux-devtools-cli/app/index.html index 051055df..6fd164fe 100644 --- a/packages/redux-devtools-cli/views/index.ejs +++ b/packages/redux-devtools-cli/app/index.html @@ -26,18 +26,18 @@
- - - + + + +