Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Add nodejs frontend tools for drupalvm integration #324

Closed
bhasselbeck opened this issue Aug 24, 2016 · 1 comment
Closed

Add nodejs frontend tools for drupalvm integration #324

bhasselbeck opened this issue Aug 24, 2016 · 1 comment
Labels
Enhancement A feature or feature request

Comments

@bhasselbeck
Copy link
Contributor

bhasselbeck commented Aug 24, 2016

When building out on the virtual machine, some necessary plugins are not included for phantomJS or other front-end engine building tools such as node, npm, bower, and gulp. We should include these by default.

https://github.com/acquia/blt/blob/8.x/scripts/drupal-vm/config.yml

We could simply add the following configuration:

# This is required for front-end building tools.
nodejs_version: "0.12"
nodejs_npm_global_packages:
  - name: bower
  - name: gulp-cli
nodejs_install_npm_user: "{{ drupalvm_user }}"
npm_config_prefix: "/home/{{ drupalvm_user }}/.npm-global"
installed_extras:
  - nodejs

extra_packages:
  # This is required for PhantomJS Installer.
  - php-bz2
  - php-bcmath
@grasmash
Copy link
Contributor

Merged in #325

@grasmash grasmash added the Enhancement A feature or feature request label Sep 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement A feature or feature request
Projects
None yet
Development

No branches or pull requests

2 participants