Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

package.json: add grunt-cli #522

Merged
merged 1 commit into from
Oct 27, 2015

Conversation

williamboman
Copy link
Contributor

This is needed to run npm scripts that uses grunt.

The core grunt package doesn't provides a bin file.

$ npm uninstall -g grunt-cli
unbuild [email protected]

$ npm run build

> [email protected] build /Users/william/Workspace/forks/shout
> grunt

sh: grunt: command not found

This is needed to run npm scripts that uses grunt.
@astorije
Copy link
Collaborator

For some reason, I had thought this was not necessary. I don't know how I sourced that shady comment of mine.

👍

@williamboman
Copy link
Contributor Author

Yeah, npm scripts aren't that magic. They are just executed in bourne shell with ./node_modules/.bin added to PATH with some extra npm_* env variables.

@JocelynDelalande
Copy link
Collaborator

👍

JocelynDelalande added a commit that referenced this pull request Oct 27, 2015
@JocelynDelalande JocelynDelalande merged commit ba36c4e into erming:master Oct 27, 2015
@williamboman williamboman deleted the fix/grunt-cli branch November 4, 2015 19:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants