Skip to content

Commit 537a7ad

Browse files
committed
feat: Switch to Yarn instead of npm
1 parent 6c38ddc commit 537a7ad

File tree

5 files changed

+7074
-14036
lines changed

5 files changed

+7074
-14036
lines changed

.gitignore

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
node_modules
2-
coverage
3-
lib
4-
build
5-
.nyc_output
1+
.awcache
62
.DS_Store
7-
*.log
8-
.vscode
93
.idea
10-
.awcache
4+
.nyc_output
5+
.vscode
6+
*.log
7+
build
8+
coverage
9+
lib
10+
node_modules
11+
package-lock.json
12+
yarn-error.log

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Do you want to use [TSLint](https://palantir.github.io/tslint/) and [Prettier](h
1515
### Get started
1616

1717
```bash
18-
npm install -D tslint-config-prettier
18+
yarn add --dev tslint-config-prettier
19+
# or
20+
npm install --save-dev tslint-config-prettier
1921
```
2022

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

74-
Then run `npm run tslint-check`.
76+
Then run `yarn tslint-check` or `npm run tslint-check`.
7577

7678
### Tutorials
7779

0 commit comments

Comments
 (0)