1 Star 1 Fork 35

mgbin / theia

forked from Gitee 极速下载 / theia 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.47 KB
一键复制 编辑 原始数据 按行查看 历史

theia-ext-logo

ECLIPSE THEIA -EXT-SCRIPTS


Description

theiaext is a command line tool to run shared npm scripts in Theia packages.
For instance, if you want add a new hello script that prints Hello World:

{
    "name": "@theia/ext-scripts",
    "scripts": {
        "ext:hello": "echo 'Hello World'"
    }
}
  • install theiaext in your package (the actual version can be different)
{
    "name": "@theia/myextension",
    "devDependencies": {
        "@theia/ext-scripts": "^0.1.1"
    }
}
  • you should be able to call hello script in the context of your package:
    npx theiaext hello
  • and from npm scripts of your package:
{
    "name": "@theia/myextension",
    "scripts": {
        "hello": "theiaext hello"
    }
}

Additional Information

License

Trademark

"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia

TypeScript
1
https://gitee.com/mgb/theia.git
git@gitee.com:mgb/theia.git
mgb
theia
theia
master

搜索帮助