Skip to content

Commit

Permalink
pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Mar 11, 2022
1 parent e53a18d commit 62faba5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ test
package.json
build
docker
libpg_query/**/*.a
libpg_query/**/*.h

*.log
npm-debug.log*
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Primarily used for the node.js parser and deparser [pgsql-parser](https://github
- `npx node-pre-gyp rebuild package`
- With appropriate AWS credentials configured, `npx node-pre-gyp publish`

Or you can run the scripts

```
npm run binary:build
npm run binary:publish
```

## Installation

```sh
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"configure": "node-pre-gyp configure",
"install": "node-pre-gyp install --fallback-to-build",
"rebuild": "node-pre-gyp configure rebuild",
"test": "mocha --timeout 5000"
"test": "mocha --timeout 5000",
"binary:build": "node-pre-gyp rebuild package",
"binary:publish": "AWS_PROFILE=supabase-dev node-pre-gyp publish"
},
"author": "Dan Lynch <[email protected]> (http://github.com/pyramation)",
"license": "LICENSE IN LICENSE",
Expand Down

0 comments on commit 62faba5

Please sign in to comment.