- Make sure you have
node
installed with a version at least 5.5.0. - Run
npm install -g gulp
to install gulp. - Fork the
angular/material2
repo. - Clone your fork.
Recommendation: name your git remotes
upstream
forangular/material2
and<your-username>
for your fork. Also see the team git shortcuts. - From the root of the project, run
npm install
.
To build Material in dev mode, run gulp material:build
.
To build Material in release mode, run gulp material:build-release
To bring up a local server, run gulp serve:devapp
. This will automatically watch for changes
and rebuild. The browser should refresh automatically when changes are made.
To run unit tests, run gulp test
.
To run the e2e tests, run gulp e2e
.
To run lint, run gulp lint
.
Not yet implemented.