Skip to content

Commit

Permalink
fix: binary
Browse files Browse the repository at this point in the history
  • Loading branch information
adeyahya committed Jun 4, 2021
1 parent 60baa21 commit e746430
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ yarn add -D prisma-typebox-generator
**2. Add the generator to the schema**

```prisma
generator jsonSchema {
generator typebox {
provider = "prisma-typebox-generator"
}
```

With a custom output path (default=./typebox)

```prisma
generator jsonSchema {
generator typebox {
provider = "prisma-typebox-generator"
output = "custom-output-path"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@
"trailingComma": "all"
},
"bin": {
"prisma-json-schema-generator": "dist/cli.js"
"prisma-typebox-generator": "dist/cli.js"
}
}

0 comments on commit e746430

Please sign in to comment.