From 0d1a85787786cdf418bd093244977b673897e2b5 Mon Sep 17 00:00:00 2001 From: ProGM Date: Thu, 31 Mar 2022 12:23:23 +0200 Subject: [PATCH] :fix: Publish on NPM --- README.md | 3 +-- package.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 562fa6c..538c746 100644 --- a/README.md +++ b/README.md @@ -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 @@ -42,4 +42,3 @@ class User extends Model { ## TODO * Documentation * Edge case tests -* Release on NPM diff --git a/package.json b/package.json index f319f0c..d9df674 100644 --- a/package.json +++ b/package.json @@ -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": [