@richlox/executor

0.33.0 • Public • Published

Shared NPM script for Theia packages.

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"
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @richlox/executor

Weekly Downloads

2

Version

0.33.0

License

EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

Unpacked Size

4.98 kB

Total Files

3

Last publish

Collaborators

  • richlox