JSUI
JSUI copied to clipboard
Feature request: support non-javascript projects
For example in my case I don't use it for javascript but I see that it allows to declare ANY terminal commands and show simple UI for them. In the same time I see some features related to javascript only which I won't use in my own project. What about to create a separate repo with just this functionality?
Or maybe could you explain how do you call terminal commands on button click?
The terminal commands are located in a package.json
file, so if you can add a termial command (echo hi
) in package.json
file under scripts
, like this
{
"name": "sample",
"version": "1.0.0",
"description": "sample project",
"main": "index.js",
"scripts": {
"hi": "echo hi",
"vscode": "code ."
},
"author": "",
"license": "ISC"
}
and then run it in JSUI (JSUI should show a button labeled 'hi' (I use it now for organizing .tex
project and files and compile them)
@jonathanvoelkle I understand how package.json scripts are declared but I need the other thing. This feature with scripts is so cool by itself so I suggest to separate it from the main project "JSUI"