Skip to content

Commit

Permalink
[misc] Update CONTRIBUTING.md (#5579)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alanscut authored Jun 4, 2020
1 parent e3c6790 commit 528ac2b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ cd moment
npm install -g grunt-cli
npm install
git checkout develop # all patches against develop branch, please!
grunt # this runs tests and jshint
grunt # this runs tests, eslint and prettier-check
```

Changing locale files
Expand All @@ -68,12 +68,15 @@ Grunt tasks
We use Grunt for managing the build. Here are some useful Grunt tasks:

* `grunt` The default task lints the code and runs the tests. You should make sure you do this before submitting a PR.
* `grunt test` run the tests.
* `grunt test` Run the tests.
* `grunt lint` Perform syntax and code style checks.
* `grunt release` Build everything, including minified files (do not include
those in Pull Requests)
* `grunt transpile:fr,ru` Build custom locale bundles `moment-with-locales.custom.js` and `locales.custom.js` inside `build/umd/min` containing just French and Russian.
* `grunt size` Print size statistics.

**Note:** If the prompt message is `Code style issues found in the above file(s). Forgot to run Prettier?`, Please run `npm run prettier-fmt`.

Becoming a moment team member
=============================

Expand Down

0 comments on commit 528ac2b

Please sign in to comment.