diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 79562f90e8..f5e3218ec8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -164,7 +164,7 @@ If you want to help us translate the documentation into other languages, please - [Example Jasmine Tests](https://github.com/materializecss/materialize/tree/master/tests/spec) - [Travis CI](https://travis-ci.org/materializecss/materialize) -Before you start, make sure you install grunt and all its dependencies. To verify you have all the correct dependencies you can run `grunt travis` and it will run the tests. If you get an errors and have not made any changes, it means you have not installed the proper dependencies. +After `npm install`, you can run `npm test` and it will run the tests. If you get any errors and have not made any changes, it means you have not installed the proper dependencies. Materialize uses Jasmine as the testing framework. We also include a jQuery library which allows you to write tests using jQuery syntax. @@ -204,7 +204,7 @@ We also understand that testing CSS properties is pretty tough so you’ll have 1. To only run a specific spec at a time, to avoid wasting your time running all our other tests, you can set the flag `--filter`. For example: ```bash - grunt travis --filter=tabs + npm test -- --filter=tabs ``` This would only run specs with tabs in its name. diff --git a/README.md b/README.md index a64a450626..6152086709 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ cd materialize npm install ``` -Then run `grunt monitor` to compile the documentation. When it finishes, open a new browser window and navigate to `localhost:8000`. We use [BrowserSync](https://www.browsersync.io/) to display the documentation. +Then run `npm run dev` to compile the documentation. When it finishes, open a new browser window and navigate to `localhost:8000`. We use [BrowserSync](https://www.browsersync.io/) to display the documentation. ### Documentation for previous releases Previous releases and their documentation are available for [download](https://github.com/materializecss/materialize/releases).