gruntjs / gruntjs/grunt-init-gruntplugin

Needless dependency on globally installed grunt-cli

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
77
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Travis CI doesn't pre-install `grunt-cli` in current versions of Node.js, which makes `npm test` fail for the current test script (`grunt test`).

It's very easy to avoid the problem by adding `grunt-cli` as a dev dependency and making `npm test` call Grunt using `npm run`, which has `node_modules/.bin` in `$PATH`. For example like I did here: https://github.com/dancek/grunt-more-css/commit/dba41c9ab5bf051f28dc8f8c28257ecb457cc5be

The related Travis CI bug: https://github.com/travis-ci/travis-ci/issues/3231

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.