From d7ebaeafe383ad5e4e26c6a3febaaebd157cf813 Mon Sep 17 00:00:00 2001 From: Rodolphe Marques Date: Wed, 21 Feb 2024 17:28:25 +0100 Subject: [PATCH] fix: added prepublishOnly script --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f56a518..9f1d4b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nevermined-io/payments", - "version": "0.1.0", + "version": "0.1.1", "description": "Typescript SDK to interact with the Nevermined Payments Protocol", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -11,10 +11,14 @@ "author": "Nevermined ", "license": "Apache-2.0", "homepage": "https://github.com/nevermined-io/payments", + "files": [ + "dist" + ], "scripts": { - "build": "tsc --build", + "build": "tsc", "lint": "eslint ./src", - "format": "prettier --check ./src" + "format": "prettier --check ./src", + "prepublishOnly": "yarn build" }, "dependencies": {}, "devDependencies": {