From 9cc2253339e42d80fd92133b25da3148dbfb2915 Mon Sep 17 00:00:00 2001 From: jdalton Date: Tue, 24 Mar 2015 01:14:22 -0700 Subject: [PATCH] Add `npm i` step to contributing.md. [ci skip] --- CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cca489a1f..df0e4aa42 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,9 @@ Please make sure to [search the issue tracker](https://github.com/lodash/lodash/ Include updated unit tests in the `test` directory as part of your pull request. Don’t worry about regenerating the documentation, lodash.js, or lodash.min.js. -You can run the tests from the command line via `node test/test`, or open `test/index.html` in a web browser. +Before running the unit tests you’ll need to install, `npm i`, [development dependencies](https://docs.npmjs.com/files/package.json#devdependencies). +Run unit tests from the command-line via `node test/test`, or open `test/index.html` in a web browser. + The `test/run-test.sh` script attempts to run the tests in [Rhino](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino), [RingoJS](http://ringojs.org/), [PhantomJS](http://phantomjs.org/), & [Node](http://nodejs.org/), before running them in your default browser. The [Backbone](http://backbonejs.org/) & [Underscore](http://underscorejs.org/) test suites are included as well.