JSPM

executor

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6897
  • Score
    100M100P100Q141030F
  • License MIT

A powerful "short-cutter" to your console to you and your team!

Package Exports

  • executor

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (executor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eXecutor

A powerful "short-cutter" to your console to you and your team!!

npm CircleCI Codacy grade Codacy coverage npm HitCount

license David Gitter

[ english ] [ spanish ]


TL;DR

This tool allows you to save a lot of time writing commands with totally custom shortcuts, that you can share on the project with your "human" team or machines, with a unique code on the same place. #agile #needForSpeed.

Like scripts of package.json but with steroids.

Notes: The idea is not to leave to use the console; it's for optimising it!

Features

  • Multi-platform: An only code that works on all platforms. Powered by nodejs
  • Templates to easy to reused
  • Does not matter what kind of project is, if you write commands this tool can be helpful for you
  • There are five source types of variables: Predefined, environment, package.json, templates and shortcuts.
  • Devs and DevOps can be friends with it because they can share their scripts.
  • Typo on long command lines are past problems!
  • Stop with one thousand of similar scripts on your package.json!
    (build, build-ci, build-prod, build-prod-ci, build-qa, build-qa-ci, build-ci-cache, etc...)
  • The scripts on the package.json was modified and have to rebuild your docker image, never more!
  • Without dependencies from other modules!


Documentation

Spoiler

Before

On package.json

"scripts": {
  "build": "docker run --rm -it -p 4200:4200 -v /choclo:... --name myProject-dev myProject ng build",
  "build-prod": "docker run --rm -it -p 4200:4200 -v /choclo:... --name myProject-dev myProject ng build --prod",
  "server": "docker run --rm -it -p 4200:4200 -v /choclo:... --name myProject-dev myProject ng serve"
}
Executor
"templates": {
  "docker-common": "docker run --rm -it -p 4200:4200 -v /choclo:... --name ${pkg.name}-dev ${pkg.name}" 
},
"shortcuts": {
  "build": "${docker-common} ng build",
  "build-prod": "${docker-common} ng build --prod",
  "server": "${docker-common} ng serve"
}

Table of content


And remember: RTFM! :)

Installation

npm i -g executor

Test for check the installation:

x hello

Should show a message with installed version number.

More info about installation.


MIT © 2018 Crystian, made with love for you <3!