liloo
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

liloo

oclif Version Downloads/week License

Usage

$ npx liloo job-file.json

Job file

Here is an example of a job file to launch several process when developping an express app locally:

{
  "defaultSpawnOptions" : { "cwd" : "/home/user/projects/api" },
  "commands": {
    "UI" : [ "npm", ["start"],  { "cwd" : "/home/user/projects/react-app" } ],
    "watch-ts" : [ "npm", ["run", "watch-ts"] ],
    "watch-express" : [ "npm", ["run", "watch-express"] ],
    "ssh-tunnel" : {
      "command" : [ 
        "ssh", 
        [ 
          "-R", "5432:localhost:5432", 
          "root@distant.db.server" 
        ] 
      ],
      "pre" : [
        ["echo", ["Connecting to distant server..."]]
      ]
    }
  }
}

Readme

Keywords

Package Sidebar

Install

npm i liloo

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

10 kB

Total Files

14

Last publish

Collaborators

  • guipas