Skip to content

Commit

Permalink
:fix: Publish on NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
ProGM committed Mar 31, 2022
1 parent a7c531b commit 0d1a857
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A parser for [JSON:API](https://jsonapi.org/) format that maps data to models us
## Installation

```bash
npm install https://github.com/monade/json-api-parser.git
npm install @monade/json-api-parser
```

## Example usage
Expand Down Expand Up @@ -42,4 +42,3 @@ class User extends Model {
## TODO
* Documentation
* Edge case tests
* Release on NPM
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
},
"scripts": {
"build": "rm -rf dist && rollup -c && tsc --emitDeclarationOnly",
"prepublish:public": "build && yarn bump-version",
"publish:public": "publish --access public",
"prepublish:public": "yarn build",
"publish:public": "yarn publish --access public",
"test": "jest"
},
"files": [
Expand Down

0 comments on commit 0d1a857

Please sign in to comment.