I very quickly tried to make scaffolding for a UI on top of npm/yarn, like Sunil Pai suggested.
Right now it's not published, so it'll work in this same repository. What you can already try is:
yarn develop
and open localhost:3000/scripts
and/dependencies
to list those/scripts/run/:name
(but it will output in the node terminal instead of the socket)/dependencies/add/:name
(but it will output in the node terminal instead of the socket)/dependencies/remove/:name
(but it will output in the node terminal instead of the socket)
There's no UI yet, because I was a bit confused on how to add both this server and some web app without a bunch of workarounds.
- stream output correctly
- get possible scripts (/scripts)
- run script (/scripts/run/:script)
- get installed dependencies (/dependencies)
- install dependency
- remove dependency
- search for dependency (https://github.com/algolia/npm-search)
- UI