Skip to content

Commit

Permalink
feat: Switch to Yarn instead of npm
Browse files Browse the repository at this point in the history
  • Loading branch information
lipis committed Nov 27, 2018
1 parent 6c38ddc commit 537a7ad
Show file tree
Hide file tree
Showing 5 changed files with 7,074 additions and 14,036 deletions.
18 changes: 10 additions & 8 deletions .gitignore
@@ -1,10 +1,12 @@
node_modules
coverage
lib
build
.nyc_output
.awcache
.DS_Store
*.log
.vscode
.idea
.awcache
.nyc_output
.vscode
*.log
build
coverage
lib
node_modules
package-lock.json
yarn-error.log
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -15,7 +15,9 @@ Do you want to use [TSLint](https://palantir.github.io/tslint/) and [Prettier](h
### Get started

```bash
npm install -D tslint-config-prettier
yarn add --dev tslint-config-prettier
# or
npm install --save-dev tslint-config-prettier
```

Make sure you've already set up [TSLint](https://palantir.github.io/tslint/) and [Prettier](https://github.com/prettier/prettier).
Expand Down Expand Up @@ -71,7 +73,7 @@ In order to execute the CLI tool, first add a script for it to `package.json`:
}
```

Then run `npm run tslint-check`.
Then run `yarn tslint-check` or `npm run tslint-check`.

### Tutorials

Expand Down

1 comment on commit 537a7ad

@henrikra
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why you guys changed to yarn btw?

Please sign in to comment.