Skip to content

Commit

Permalink
fix: specify typescript as a peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JackCuthbert committed Jul 24, 2020
1 parent be6430b commit 6148d68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ ORM for TypeScript and Google Cloud Firestore.

## Usage

Install the `firetype` and the `@google-cloud/firestore` peer dependency.
Firetype requires TypeScript to work as intended.

```
npm install -D typescript
```

Install the `firetype` and `@google-cloud/firestore` packages.

```
npm install firetype @google-cloud/firestore
```

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"homepage": "https://github.com/JackCuthbert/firetype#readme",
"peerDependencies": {
"@google-cloud/firestore": ">= 4.1.1"
"@google-cloud/firestore": ">= 4.1.1",
"typescript": ">= 3.9"
},
"devDependencies": {
"@google-cloud/firestore": "^4.1.1",
Expand Down

0 comments on commit 6148d68

Please sign in to comment.