0.0.1 • Published 3 years ago
@bud-tools/ext-scripts v0.0.1
Description
budtoolsext is a command line tool to run shared npm scripts in BudTools packages.\
For instance, if you want add a new hello script that prints Hello World:
- add a new script to package.json with the
ext:prefix.
{
"name": "@bud-tools/ext-scripts",
"scripts": {
"ext:hello": "echo 'Hello World'"
}
}- install
budtoolsextin your package (the actual version can be different)
{
"name": "@bud-tools/myextension",
"devDependencies": {
"@bud-tools/ext-scripts": "^0.1.1"
}
}- you should be able to call
helloscript in the context of your package:
npx budtoolsext hello- and from npm scripts of your package:
{
"name": "@bud-tools/myextension",
"scripts": {
"hello": "budtoolsext hello"
}
}Additional Information
License
- Eclipse Public License 2.0
- 一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception
Trademark
"BudTools" is a trademark of the Eclipse Foundation https://www.eclipse.org/budtools
0.0.1
3 years ago