Skip to content

Commit

Permalink
feat: stub bin command
Browse files Browse the repository at this point in the history
  • Loading branch information
rintaun committed Nov 21, 2020
1 parent ad92183 commit d4e13ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/pg-typegen
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../dist/cli')
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"description": "TypeScript type generator for PostgreSQL databases",
"main": "./dist/index.js",
"bin": {
"pg-typegen": "./bin/pg-typegen"
},
"scripts": {
"build": "tsc",
"prepack": "yarn build"
Expand Down
1 change: 1 addition & 0 deletions src/cli/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// stubbed file

0 comments on commit d4e13ff

Please sign in to comment.