@malagu/ext-scripts

2.24.1 • Public • Published

Shared NPM script for malagu packages.

malaguext is a command line tool to run shared npm scripts in malagu packages.

For instance, if you want add a new hello script that prints Hello World:

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

Readme

Keywords

none

Package Sidebar

Install

npm i @malagu/ext-scripts

Weekly Downloads

406

Version

2.24.1

License

MIT

Unpacked Size

5.78 kB

Total Files

4

Last publish

Collaborators

  • jaryn
  • muxiangqiu