2017 © Pedro Peláez
 

composer-plugin scriptsdev

Scripts-dev behaviour for Composer

image

neronmoon/scriptsdev

Scripts-dev behaviour for Composer

  • Wednesday, December 20, 2017
  • by neronmoon
  • Repository
  • 1 Watchers
  • 40 Stars
  • 113,797 Installations
  • Python
  • 15 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 14 % Grown

The README.md

scriptsdev for Composer Build Status

It's like require-dev, but for scripts, (*1)

Installation

Just run composer require neronmoon/scriptsdev --dev, (*2)

Usage

After installing you able to add extra.scripts-dev directive in your composer.json, (*3)

...
"extra": {
    "scripts-dev": {
        "post-install-cmd": [
            "npm install --dev"
        ],
        "post-update-cmd": "php ./someCoolCommand.php",
        "test": "phpunit"
    },
}
...

Deprecated Usage

...
"scripts-dev": {
    "post-install-cmd": [
        "npm install --dev"
    ],
    "post-update-cmd": "php ./someCoolCommand.php"
}
...

Known issues

  • Usage of this plugin will cause minor warning of validation process. composer validate command will display something like this.
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
Description for non-existent script "test" found in "scripts-descriptions"

The Versions

20/12 2017

dev-master

9999999-dev https://github.com/neronmoon/scriptsdev

Scripts-dev behaviour for Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

by Vitaliy Krasnoperov

composer commands dev scripts commands execution

20/12 2017

v0.1.2

0.1.2.0 https://github.com/neronmoon/scriptsdev

Scripts-dev behaviour for Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

by Vitaliy Krasnoperov

composer commands dev scripts commands execution

20/12 2017

dev-test_custom_script

dev-test_custom_script https://github.com/neronmoon/scriptsdev

Scripts-dev behaviour for Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

by Vitaliy Krasnoperov

composer commands dev scripts commands execution

13/03 2017

v0.1.1

0.1.1.0 https://github.com/neronmoon/scriptsdev

Scripts-dev behaviour for Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

by Vitaliy Krasnoperov

composer commands dev scripts commands execution

12/11 2015

v0.0.1

0.0.1.0 https://github.com/neronmoon/scriptsdev

Scripts-dev behaviour for Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

by Vitaliy Krasnoperov

composer commands dev scripts commands execution

12/11 2015

v0.1.0

0.1.0.0 https://github.com/neronmoon/scriptsdev

Scripts-dev behaviour for Composer

  Sources   Download

MIT

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

by Vitaliy Krasnoperov

composer commands dev scripts commands execution