dev-packages/private-ext-scripts/README.md
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:
ext: prefix.{
"name": "@theia/ext-scripts",
"theia-monorepo-scripts": {
"ext:hello": "echo 'Hello World'"
}
}
theiaext in your package (the actual version can be different){
"name": "@theia/myextension",
"devDependencies": {
"@theia/ext-scripts": "^0.1.1"
}
}
hello script in the context of your package: npx theiaext hello
{
"name": "@theia/myextension",
"scripts": {
"hello": "theiaext hello"
}
}
"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia