0.0.4 • Published 7 years ago

drupal-bower v0.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

About

This module only add libraries to the Drupal theme file (*.libraries.yml) after a bower installation

Install

Install with npm

$ npm install drupal-bower --save

Install it globally

$ npm install -g drupal-bower

How to use

Update your .bowerrc file with those lines:

  • If you installed it inside your project:
"scripts": {
    "postinstall": "node ./node_modules/drupal-bower/bin/drupal-bower.js install %",
    "preuninstall": "node ./node_modules/drupal-bower/bin/drupal-bower.js uninstall %"
}
  • If you installed it globally
"scripts": {
    "postinstall": "DrupalBower install %",
    "preuninstall": "DrupalBower uninstall %"
}

Todos

  • Manage dependencies
  • Refacto (First node module, a little bit messy)
0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago