Repository: couchdb-fauxton Updated Branches: refs/heads/master 1de65dc28 -> ad0051256
tooling: don't require globally installed grunt `grunt` is one of our dependencies, using `npm run dev` we can substitute `grunt dev` which requires a globally installed grunt which can have a completely different version than we are defining in our `package.json` Using `scripts` in the npm package.json file npm takes care that our locally installed modules which provide a `bin` file are part of the env of the executing context. New commands: ``` npm run couchapp npm run dev npm run nightwatch ``` PR: #325 PR-URL: https://github.com/apache/couchdb-fauxton/pull/325 Reviewed-By: Benjamin Keen <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/ad005125 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/ad005125 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/ad005125 Branch: refs/heads/master Commit: ad0051256766050fdea74645a94e4755283fd803 Parents: 1de65dc Author: Robert Kowalski <[email protected]> Authored: Sun Mar 22 17:01:44 2015 +0100 Committer: Robert Kowalski <[email protected]> Committed: Thu Mar 26 13:42:33 2015 +0100 ---------------------------------------------------------------------- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/ad005125/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 3169bad..e9b13ea 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,10 @@ "stylecheck": "jsxcs app && jsxcs test/nightwatch_tests && jsxcs tasks && jsxcs Gruntfile.js", "test": "grunt test", "couchdebug": "grunt couchdebug", - "couchdb": "grunt couchdb" + "couchdb": "grunt couchdb", + "couchapp": "grunt couchapp_deploy", + "dev": "grunt dev", + "nightwatch": "grunt nightwatch" }, "repository": { "type": "git",
