3.1.1 • Published 8 months ago

@celljs/component v3.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

CLI for cell packages.

cell-component is a command line tool to run shared npm scripts in cell packages.

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

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