Skip to content

Commit

Permalink
Merge pull request #13 from specialblend/support/peer-deps
Browse files Browse the repository at this point in the history
refactor: move dependencies to peerDependencies
  • Loading branch information
specialblend authored Oct 5, 2021
2 parents def66ef + 91328bc commit ecfcf16
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 39 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

map, filter, and transform data structures using GraphQL and JSONPath.

## installation

```bash
# install peerDependencies
npm install graphql graphql-anywhere graphql-tag rambda jsonpath
# install package
npm install --registry=https://npm.pkg.github.com/specialblend @specialblend/mapql
```

or add `.npmrc`:

```
registry=https://registry.npmjs.org/
@specialblend:registry=https://npm.pkg.github.com/specialblend
```

and run

```bash
npm install @specialblend/mapql graphql graphql-anywhere graphql-tag rambda jsonpath
```

## features

GraphQL query is written in desired result structure, using GraphQL arguments and directives for remapping paths and transforming result values.
Expand Down
Loading

0 comments on commit ecfcf16

Please sign in to comment.