Skip to content

Commit

Permalink
docs(contrib): Update removed package scripts [skip ci] (babel#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
boopathi authored Sep 19, 2017
1 parent fe078fd commit 0cfabb8
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 0cfabb8

Please sign in to comment.