Plugins: system-saver

system-saver plugin

Write the requirements into a global file 'requirements.json'.

core-check hook

Implements a parameter saveRequirements: true | false to write all requirements in a file requirements.json

Example of usage --b-saveRequirements in the command line:

pisco flow-name:step-name --pstage check --b-saveRequirements --b-disablePrompts --b-disableContextCheck --b-disableSystemCheck

Command explanation:

This is a example of the file requirements.json with the result of the execution, the mix of all system requirements for all steps:

{
  "npm": {
    "module": "generator-pisco-recipe",
    "version": "0.0.2"
  },
  "java": {
    "version": "1.7.0",
    "option": "-version",
    "regexp": "\"(.*?)_"
  },
  "cordova": {
    "version": "5.4.1"
  },
  "yo": {},
  "bower": {
    "version": "1.0.0"
  },
  "sass": {
    "version": "3.1.0",
    "regexp": "s (.*?) "
  }
}