Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 20, 2021. It is now read-only.
This repository was archived by the owner on Feb 20, 2021. It is now read-only.

Remove global grunt dependency #46

@frolic

Description

@frolic

Instead, add grunt-cli to wh project's dependencies (or whatever projects require running grunt commands) and run with node_modules/.bin/grunt [arguments] or via npm run grunt -- [arguments] with:

// package.json
"scripts": {
  "grunt": "grunt"
},
"dependencies": {
  "grunt": "[semver]"
}

This would get rid of the need to install grunt-cli globally and allow pinning to a specific grunt version to avoid CLI commands breaking with version incompatibilities. It would also allow for a seamless transition if you guys were to switch to gulp or another task library (by simply updating wh).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions