- Make sure you have
nodeinstalled with a version at least 10.0.0 andyarnwith a version of at least 1.10.0. We recommend usingnvmto manage your node versions. - Run
yarn global add gulpto install gulp. - Fork the
angular/componentsrepo on GitHub. - Clone your fork to your machine with
git clone. Recommendation: name your git remotesupstreamforangular/componentsand<your-username>for your fork. Also see the team git shortcuts. - From the root of the project, run
yarn.
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 yarn dev-app. This will automatically watch for changes
and rebuild. The browser should refresh automatically when changes are made.
To run unit tests, run yarn test.
To run the e2e tests, run yarn e2e.
To run lint, run yarn lint.