Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove requirement to globally install Grunt #23

Open
evanplaice opened this issue Dec 19, 2015 · 0 comments
Open

Remove requirement to globally install Grunt #23

evanplaice opened this issue Dec 19, 2015 · 0 comments

Comments

@evanplaice
Copy link

If grunt is already included in package.json what's the point of installing it globally? It would make a lot more sense to run it as a NPM script.

package.json

...
  "license": "MIT",
  "scripts": {
    "uglify": "grunt uglify"
  }, 
  "devDependencies": {
    "grunt": "^0.4.5",
...

Note: This'll make the project more self-contained and avoid environment-level version differences between users. For a better explanation of the reasoning behind my suggestion, I suggest taking a look at The Twelve Factor App - II. Dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant