Skip to content

Commit 0d1a857

Browse files
committed
:fix: Publish on NPM
1 parent a7c531b commit 0d1a857

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A parser for [JSON:API](https://jsonapi.org/) format that maps data to models us
77
## Installation
88

99
```bash
10-
npm install https://github.com/monade/json-api-parser.git
10+
npm install @monade/json-api-parser
1111
```
1212

1313
## Example usage
@@ -42,4 +42,3 @@ class User extends Model {
4242
## TODO
4343
* Documentation
4444
* Edge case tests
45-
* Release on NPM

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
},
2525
"scripts": {
2626
"build": "rm -rf dist && rollup -c && tsc --emitDeclarationOnly",
27-
"prepublish:public": "build && yarn bump-version",
28-
"publish:public": "publish --access public",
27+
"prepublish:public": "yarn build",
28+
"publish:public": "yarn publish --access public",
2929
"test": "jest"
3030
},
3131
"files": [

0 commit comments

Comments
 (0)