From 0cfabb8b3b36290a7d8a2010882541cf75c3b6cb Mon Sep 17 00:00:00 2001 From: Boopathi Rajaa Date: Tue, 19 Sep 2017 16:56:37 +0200 Subject: [PATCH] docs(contrib): Update removed package scripts [skip ci] (#693) --- CONTRIBUTING.md | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4f05cdd51..af206c7e7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,10 @@ ## Contributing +### Requirements + ++ node >= 4 ++ [yarn](https://yarnpkg.com) >= 1.0.0 (with yarn workspaces support) + ### Setup ```sh git clone https://github.com/babel/minify @@ -30,40 +35,18 @@ yarn watch This project uses [prettier](https://github.com/prettier/prettier) for formatting code and [eslint](https://github.com/eslint/eslint) for other linting. -To check both: - ```sh yarn lint ``` -You can also run them each individually: - - ```sh -# prettier -yarn format-check - -# eslint -yarn eslint -``` - ##### Lint Fix -To fix formatting and auto-fixable eslint errors, +To fix formatting and other auto-fixable eslint errors, ```sh yarn fix ``` -You can also run them each individually: - -```sh -# prettier -yarn format - -# eslint -npm run eslint-fix -``` - #### Test To run all tests,