0.0.2 • Published 3 years ago

@saasxx/ext-scripts v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Shared NPM script for saasxx packages.

saasxxext is a command line tool to run shared npm scripts in saasxx packages.

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

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