This project is not covered by Drupal’s security advisory policy.

Provides a media entity of type gherkin to add internal gherkin script with field type widget and formatter.

1. Change the following in the root composer.json file:

Change

    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    ],

To

    "repositories": {
        "drupal": {
          "type": "composer",
          "url": "https://packages.drupal.org/8"
        },
        "assets": {
          "type": "composer",
          "url": "https://asset-packagist.org"
        }
    },

2. Add the installer-paths for ACE in libraries

Change

        "installer-paths": {
            "web/core": [
                "type:drupal-core"
            ],
            "web/libraries/{$name}": [
                "type:drupal-library"
            ],

To

        "installer-paths": {
            "web/core": [
              "type:drupal-core"
            ],
            "web/libraries/ace": ["npm-asset/ace-builds"],
            "web/libraries/{$name}": [
              "type:drupal-library",
              "type:bower-asset",
              "type:npm-asset"
            ],

3. Add the following installer-types and drupal-libraries

        "installer-types": [
            "bower-asset",
            "npm-asset"
        ],
        "drupal-libraries": {
            "library-directory": "web/libraries",
            "libraries": [
                {"name": "ace", "package": "npm-asset/ace-builds"}
            ]
        }, 

4. Run the following composer require command

composer require 'drupal/gherkin:~1.0'

Webship.co

Supporting organizations: 

Project information

Releases