main.yml 978 B

123456789101112131415161718192021222324252627
  1. ---
  2. # Set the version of Node.js to install (8.x", "10.x", "12.x", "13.x", etc.).
  3. # Version numbers from Nodesource: https://github.com/nodesource/distributions
  4. nodejs_version: "14.x"
  5. # The user for whom the npm packages will be installed.
  6. # nodejs_install_npm_user: username
  7. # The directory for global installations.
  8. npm_config_prefix: "/usr/local/lib/npm"
  9. # Set to true to suppress the UID/GID switching when running package scripts. If
  10. # set explicitly to false, then installing as a non-root user will fail.
  11. npm_config_unsafe_perm: "false"
  12. # Define a list of global packages to be installed with NPM.
  13. nodejs_npm_global_packages: []
  14. # # Install a specific version of a package.
  15. # - name: jslint
  16. # version: 0.9.3
  17. # # Install the latest stable release of a package.
  18. # - name: node-sass
  19. # # This shorthand syntax also works (same as previous example).
  20. # - node-sass
  21. # The path of a package.json file used to install packages globally.
  22. nodejs_package_json_path: ""