Darius Zivertas profile photo
Darius Zivertas
June 22, 2020

composer.json.md

composer.json.md
Markdown

# Include file as library using Composer into drupal ./libraries directory (composer.json)
```
{
  "type": "package",
  "package": {
      "name": "douglascrockford/json-js",
      "version": "1.1",
      "type": "drupal-library",
      "dist": {
          "url": "https://raw.githubusercontent.com/douglascrockford/JSON-js/master/json2.js",
          "type": "file"
      }
    }
}
```

View this gist on GitHub

HomeBlogProjectsSnippetsSearchContact